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 );
|
$width = reScale( $monitor->Width(), $scale );
|
||||||
}
|
}
|
||||||
} else if ( $scale ) {
|
} else if ( $scale ) {
|
||||||
$width = $monitor->Width() * $scale;
|
$width = reScale( $monitor->Width(), $scale );
|
||||||
$height = $monitor->Height() * $scale;
|
$height = reScale( $monitor->Height(), $scale );
|
||||||
}
|
}
|
||||||
|
|
||||||
$zones = array();
|
$zones = array();
|
||||||
|
|
Loading…
Reference in New Issue