add default for Units in new zone

This commit is contained in:
Isaac Connor 2019-12-13 11:51:07 -05:00
parent d2a23e4822
commit 0bbbbb302e
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ if ( !isset($newZone) ) {
'Id' => 0,
'Name' => translate('New'),
'Type' => 'Active',
'Units' => 'Pixels',
'MonitorId' => $monitor->Id(),
'NumCoords' => 4,
'Coords' => sprintf('%d,%d %d,%d, %d,%d %d,%d', $minX, $minY, $maxX, $minY, $maxX, $maxY, $minX, $maxY),