diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-23 21:31:29 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-23 21:31:29 -0400 |
| commit | bbccf96981fa7db1152d5519c6edd2c5dde81d4f (patch) | |
| tree | 5c37adb73eb51487e6d017874cfd9386dd84fedc /sysdata_unix.go | |
| parent | cd49e05da860f70dd7f78c1b625cf21c3d603f93 (diff) | |
Fixed the shrinking not working: the Cairo clip rect apparently can fall outside the actual size of the widget. (I did notice this before.)
Diffstat (limited to 'sysdata_unix.go')
| -rw-r--r-- | sysdata_unix.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go index 6100606..be9a827 100644 --- a/sysdata_unix.go +++ b/sysdata_unix.go @@ -357,7 +357,6 @@ func (s *sysData) setAreaSize(width int, height int) { uitask <- func() { c := gtkAreaGetControl(s.widget) gtk_widget_set_size_request(c, width, height) - gtk_widget_queue_draw(c) // force repaint (TODO doesn't have an effect when shrinking?) ret <- struct{}{} } <-ret |
