summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2020-10-08 10:44:30 +0200
committerDamiano Galassi <[email protected]>2020-10-08 10:44:30 +0200
commitdfec0f6ecbddb45ffceacb6e6f266fc03242f315 (patch)
tree8d6a42bb29e479af566f2fc473d7ffa99fcd3588 /macosx
parent68809ac88edb1819ef831f709a0b4effb2ad6e1f (diff)
MacGui: do not reset the max width and max height when the resolution limit is set to custom.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBPicture.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m
index c5bce5185..27042ac34 100644
--- a/macosx/HBPicture.m
+++ b/macosx/HBPicture.m
@@ -169,8 +169,6 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
self.maxHeight = 480;
break;
case HBPictureResolutionLimitModeCustom:
- self.maxWidth = self.sourceWidth;
- self.maxHeight = self.sourceHeight;
break;
}
}