add default for Units in new zone
This commit is contained in:
parent
d2a23e4822
commit
0bbbbb302e
|
@ -69,6 +69,7 @@ if ( !isset($newZone) ) {
|
||||||
'Id' => 0,
|
'Id' => 0,
|
||||||
'Name' => translate('New'),
|
'Name' => translate('New'),
|
||||||
'Type' => 'Active',
|
'Type' => 'Active',
|
||||||
|
'Units' => 'Pixels',
|
||||||
'MonitorId' => $monitor->Id(),
|
'MonitorId' => $monitor->Id(),
|
||||||
'NumCoords' => 4,
|
'NumCoords' => 4,
|
||||||
'Coords' => sprintf('%d,%d %d,%d, %d,%d %d,%d', $minX, $minY, $maxX, $minY, $maxX, $maxY, $minX, $maxY),
|
'Coords' => sprintf('%d,%d %d,%d, %d,%d %d,%d', $minX, $minY, $maxX, $minY, $maxX, $maxY, $minX, $maxY),
|
||||||
|
|
Loading…
Reference in New Issue