summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBPreferencesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m
index 2325eb2c4..cd0874696 100644
--- a/macosx/HBPreferencesController.m
+++ b/macosx/HBPreferencesController.m
@@ -294,7 +294,7 @@
return;
NSRect windowRect = [window frame];
- CGFloat difference = ( [view frame].size.height - [[window contentView] frame].size.height ) * [window userSpaceScaleFactor];
+ CGFloat difference = ( [view frame].size.height - [[window contentView] frame].size.height );
windowRect.origin.y -= difference;
windowRect.size.height += difference;