Merge branch 'rotate_dimensions_when_image_is_rotated' into storageareas

This commit is contained in:
Isaac Connor committed 2016-01-04 13:19:09 -05:00
commit 5144d3befb
1 file changed
+12
+12
View File
@@ -80,5 +80,17 @@ class Monitor {
return( $streamSrc );
} // end function etStreamSrc
public function Width() {
if ( $this->Orientation() == '90' or $this->Orientation() == '270' ) {
return $this->{'Height'};
}
return $this->{'Width'};
}
public function Height() {
if ( $this->Orientation() == '90' or $this->Orientation() == '270' ) {
return $this->{'Width'};
}
return $this->{'Height'};
}
}
?>