mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Update for auto-positioning monitors so that having just one of x or y be 0 (e.g. a monitor placed in the top right corner of the stage) does not result in the monitor being treated as a new monitor and get auto-positioned.
This commit is contained in:
parent
d690c76a34
commit
ebdd548c8f
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@ const MonitorRecord = Record({
|
|||
mode: 'default',
|
||||
sliderMin: 0,
|
||||
sliderMax: 100,
|
||||
x: 0,
|
||||
y: 0,
|
||||
x: null, // (x: null, y: null) Indicates that the monitor should be auto-positioned
|
||||
y: null,
|
||||
width: 0,
|
||||
height: 0,
|
||||
visible: true
|
||||
|
|
Loading…
Reference in a new issue