From eb01ab7127ffdb440615a37beada8e0429089cc1 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Sat, 28 Jun 2014 13:10:39 +0200 Subject: [PATCH] canvas.gui.ScrollArea: no need for double update of content size. --- Nasal/canvas/gui/widgets/ScrollArea.nas | 3 --- 1 file changed, 3 deletions(-) diff --git a/Nasal/canvas/gui/widgets/ScrollArea.nas b/Nasal/canvas/gui/widgets/ScrollArea.nas index c00dea1a6..e1ba7ebe1 100644 --- a/Nasal/canvas/gui/widgets/ScrollArea.nas +++ b/Nasal/canvas/gui/widgets/ScrollArea.nas @@ -45,9 +45,6 @@ gui.widgets.ScrollArea = { var (x,y) = arg; me._size = [x,y]; me.update(); - - if( me._layout != nil ) - me._layout.setGeometry(me._layout.geometry()); }, # Move contents to the coordinates x,y (or as far as possible) #