diff options
| author | Clement Benard <contact@clementbenard.com> | 2019-07-15 15:44:34 +0200 |
|---|---|---|
| committer | Clement Benard <contact@clementbenard.com> | 2019-07-15 15:44:34 +0200 |
| commit | 736e35bd9b0c8f4f9649557e4b7a3085b4bdbe63 (patch) | |
| tree | 53c854ae5142a879a1a0076e804f210db5cb7b85 /examples/layout/button.go | |
| parent | 1b03644d1e0e1be27cdd22732f893d03c0e8421d (diff) | |
| download | gui-736e35bd9b0c8f4f9649557e4b7a3085b4bdbe63.zip | |
Easier and more idiomatic Layout initializing
Diffstat (limited to 'examples/layout/button.go')
| -rw-r--r-- | examples/layout/button.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/layout/button.go b/examples/layout/button.go index 6c907e3..0693e06 100644 --- a/examples/layout/button.go +++ b/examples/layout/button.go @@ -4,7 +4,6 @@ import ( "image" "image/color" "image/draw" - "log" "github.com/faiface/gui" "github.com/faiface/gui/win" @@ -39,7 +38,6 @@ func Button(env gui.Env, theme *Theme, text string, action func()) { switch e := e.(type) { case gui.Resize: r = e.Rectangle - log.Print("button ", e) env.Draw() <- redraw(r, over, pressed) case win.MoDown: |