From 07fafbecff4a973934c57dbe63ea110c9e31b96e Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 27 Nov 2019 14:55:15 +0100 Subject: static: Remove pointless code --- static.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/static.go b/static.go index 38ed9663..e0034fc9 100644 --- a/static.go +++ b/static.go @@ -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 } -- cgit v1.2.3-59-g8ed1b