scale is a percentage, so use the rescale function

This commit is contained in:
Isaac Connor 2017-04-28 11:10:43 -04:00
parent df7161a4ea
commit 20c699366e
1 changed files with 2 additions and 2 deletions

View File

@ -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();