scale is a percentage, so use the rescale function
This commit is contained in:
parent
df7161a4ea
commit
20c699366e
|
@ -166,8 +166,8 @@ foreach ( $monitors as $monitor ) {
|
|||
$width = reScale( $monitor->Width(), $scale );
|
||||
}
|
||||
} else if ( $scale ) {
|
||||
$width = $monitor->Width() * $scale;
|
||||
$height = $monitor->Height() * $scale;
|
||||
$width = reScale( $monitor->Width(), $scale );
|
||||
$height = reScale( $monitor->Height(), $scale );
|
||||
}
|
||||
|
||||
$zones = array();
|
||||
|
|
Loading…
Reference in New Issue