diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-11-27 14:55:15 +0100 |
---|---|---|
committer | Alexander Neumann <alexander.neumann@picos-software.com> | 2019-11-27 14:55:15 +0100 |
commit | 07fafbecff4a973934c57dbe63ea110c9e31b96e (patch) | |
tree | b0ef0c26da0580ef24e9fdf146e57244d15d1d40 | |
parent | FormBase: Improve automatic resizing to accommodate children (diff) | |
download | wireguard-windows-07fafbecff4a973934c57dbe63ea110c9e31b96e.tar.xz wireguard-windows-07fafbecff4a973934c57dbe63ea110c9e31b96e.zip |
static: Remove pointless code
-rw-r--r-- | static.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -174,14 +174,8 @@ func (s *static) setText(text string) (changed bool, err error) { return false, err } - size := s.BoundsPixels().Size() - s.RequestLayout() - if s.BoundsPixels().Size() == size && size != (Size{}) { - s.updateStaticBounds() - } - return true, nil } |