summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Weidauer <sven@5sw.de>2017-12-23 13:37:54 +0100
committerSven Weidauer <sven@5sw.de>2017-12-23 13:37:54 +0100
commit01286d85daa07fabbfca1c889bf1b7c2898cfb0b (patch)
treef709c9354797a64aadca06ee29af0846d032bdbb
parent9a50a70be9ee0cafc2f75a2ab282218a31837cb1 (diff)
downloadnetsurf-01286d85daa07fabbfca1c889bf1b7c2898cfb0b.tar.gz
netsurf-01286d85daa07fabbfca1c889bf1b7c2898cfb0b.tar.bz2
Quick hack to avoid endless flickering of scroll bars that prevents anything else from happening.
-rw-r--r--frontends/cocoa/ScrollableView.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontends/cocoa/ScrollableView.m b/frontends/cocoa/ScrollableView.m
index c495b1d93..130fce201 100644
--- a/frontends/cocoa/ScrollableView.m
+++ b/frontends/cocoa/ScrollableView.m
@@ -45,7 +45,10 @@
- (void)frameChangeNotification:(NSNotification *)note
{
- [self adjustFrame];
+ // TODO: Correctly handle window resizing.
+ // Removing this call is a quick hack to avoid an endless layout loop due to appearing/disappearing
+ // scroll bars.
+ //[self adjustFrame];
}
- (void)viewDidMoveToSuperview