diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-02-26 17:38:47 +0100 |
---|---|---|
committer | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-02-26 17:38:47 +0100 |
commit | 97b07593004c451ce84b9cee06b6f12f5d8cdbb8 (patch) | |
tree | fa944dd4078863051b56aed3c6eb8eb3388d0c80 | |
parent | Spacer: Add support for restricting greed locally (diff) | |
download | wireguard-windows-97b07593004c451ce84b9cee06b6f12f5d8cdbb8.tar.xz wireguard-windows-97b07593004c451ce84b9cee06b6f12f5d8cdbb8.zip |
BoxLayout: Small refactoring after removing logging code
-rw-r--r-- | boxlayout.go | 4 |
1 files changed, 1 insertions, 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 { |