docs: dead link
editor: partly revert 866890d7ab (contains unfinished changes)
This commit is contained in:
parent
cd55407e40
commit
fc89416653
3 changed files with 10 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 <a href="http://opensoundcontrol.org/spec-1_0">http://opensoundcontrol.org/spec-1_0</a> for existing typetags'
|
||||
'See <a href="http://opensoundcontrol.org/">OSC 1.0 specification</a> for existing typetags'
|
||||
]},
|
||||
decimals: {type: 'integer', value: 2, help: [
|
||||
'Defines the number of decimals to send.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue