|
|
@@ -112,8 +112,8 @@ class ImageFitter(DockWidget):
|
|
|
# Repeated scaling does weird things to images.
|
|
|
if self.scalingCheck.isChecked():
|
|
|
doScaling = False
|
|
|
- targetWidth = tbds['right'] - 1 - tbds['left']
|
|
|
- targetHeight = tbds['bottom'] - 1 - tbds['top']
|
|
|
+ targetWidth = tbds['right'] - tbds['left']
|
|
|
+ targetHeight = tbds['bottom'] - tbds['top']
|
|
|
layerWidth = bds.right() - bds.left()
|
|
|
layerHeight = bds.bottom() - bds.top()
|
|
|
# Deal with aspect ratio. Simply adjust target dimensions.
|