Merge branch 'master' of https://github.com/ONLYOFFICE/AppServer
This commit is contained in:
commit
3fbcb2e097
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "asc-web-components",
|
||||
"version": "1.0.195",
|
||||
"version": "1.0.196",
|
||||
"description": "Ascensio System SIA component library",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "dist/asc-web-components.js",
|
||||
|
@ -229,7 +229,11 @@ class AvatarEditorBody extends React.Component {
|
||||
|
||||
handleScale = e => {
|
||||
const scale = parseFloat(e.target.value);
|
||||
this.setState({ scale })
|
||||
this.setState({ scale });
|
||||
this.props.onSizeChange({
|
||||
width: this.setEditorRef.current.getImage().width,
|
||||
height: this.setEditorRef.current.getImage().height
|
||||
});
|
||||
};
|
||||
onImageReady() {
|
||||
this.setState({
|
||||
|
Loading…
Reference in New Issue
Block a user