From 97b07593004c451ce84b9cee06b6f12f5d8cdbb8 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Tue, 26 Feb 2019 17:38:47 +0100 Subject: BoxLayout: Small refactoring after removing logging code --- boxlayout.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/boxlayout.go b/boxlayout.go index be795040..d84a7bc0 100644 --- a/boxlayout.go +++ b/boxlayout.go @@ -208,9 +208,7 @@ func (l *BoxLayout) LayoutFlags() LayoutFlags { return 0 } - flags := boxLayoutFlags(l.orientation, l.container.Children()) - - return flags + return boxLayoutFlags(l.orientation, l.container.Children()) } func (l *BoxLayout) MinSize() Size { -- cgit v1.2.3-59-g8ed1b