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:
Karishma Chadha committed 2018-11-09 23:45:48 -05:00
1 parent d690c76a34
commit ebdd548c8f
1 file changed
+2 -2
+2 -2
View File
@@ -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