From 01286d85daa07fabbfca1c889bf1b7c2898cfb0b Mon Sep 17 00:00:00 2001 From: Sven Weidauer Date: Sat, 23 Dec 2017 13:37:54 +0100 Subject: Quick hack to avoid endless flickering of scroll bars that prevents anything else from happening. --- frontends/cocoa/ScrollableView.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3