diff --git a/CHANGELOG.md b/CHANGELOG.md index e0829af2..bb745046 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ - matrix: removed ambiguous `start` property - matrix: advanced syntax blocks can be passed to children without being resolved at the matrix\' scope by adding an underscore before the opening bracket - text: add `soft` mode for the `wrap` property - - input: improve `numeric` mode on iOS + - input: improve `numeric` mode on iOS ## 1.9.6 diff --git a/src/client/editor/index.js b/src/client/editor/index.js index b35f16a8..530b37ba 100644 --- a/src/client/editor/index.js +++ b/src/client/editor/index.js @@ -820,12 +820,16 @@ class Editor { for (var i = 0; i < this.selectedWidgets.length; i++) { let w = this.selectedWidgets[i], - dW = deltaW * w.container.offsetWidth / this.widgetDragResize.initWidth, - dH = deltaH * w.container.offsetHeight / this.widgetDragResize.initHeight, nW, nH - nW = w.container.offsetWidth + dW - nH = w.container.offsetHeight + dH + if (i === 0 && ui) { + nW = ui.originalSize.width + deltaW + nH = ui.originalSize.height + deltaH + + } else { + nW = w.container.offsetWidth + deltaW + nH = w.container.offsetHeight + deltaH + } if (w.props.width !== undefined && w.parent.getProp('layout') !== 'vertical') { var newWidth = Math.max(nW, GRIDWIDTH) / PXSCALE diff --git a/src/client/widgets/common/widget.js b/src/client/widgets/common/widget.js index 4ff84269..37892089 100644 --- a/src/client/widgets/common/widget.js +++ b/src/client/widgets/common/widget.js @@ -122,7 +122,7 @@ class Widget extends EventEmitter { 'Defines the osc argument types, one letter per argument (including preArgs)', '- If empty, the types are infered automatically from the values (with numbers casted to floats by default)', '- If there are more arguments than type letters, the last type is used for the extra arguments', - 'See http://opensoundcontrol.org/spec-1_0 for existing typetags' + 'See OSC 1.0 specification for existing typetags' ]}, decimals: {type: 'integer', value: 2, help: [ 'Defines the number of decimals to send.',