Skip to content
Snippets Groups Projects
Commit 1d63c809 authored by George Nachman's avatar George Nachman
Browse files

Fix hilarious bug where views are flipped upside down when the scrollbar is hidden.

parent 7d311093
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -103,9 +103,7 @@
 
- (void)drawRect:(NSRect)dirtyRect {
if (IsLionOrLater() &&
self.hasDarkBackground &&
dirtyRect.size.width > 0 &&
dirtyRect.size.height > 0) {
self.hasDarkBackground) {
NSImage *superDrawn = [[NSImage alloc] initWithSize:NSMakeSize(dirtyRect.origin.x + dirtyRect.size.width,
dirtyRect.origin.y + dirtyRect.size.height)];
[superDrawn lockFocus];
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment