tracker: remove old unused code

This commit is contained in:
vsariola
2021-02-16 08:47:48 +02:00
parent f8ec857c16
commit 366a05c766
3 changed files with 10 additions and 45 deletions

View File

@ -1,8 +1,6 @@
package tracker
import (
"os"
"gioui.org/app"
"gioui.org/io/clipboard"
"gioui.org/io/key"
@ -32,9 +30,6 @@ func (t *Tracker) Run(w *app.Window) error {
}
case system.FrameEvent:
gtx := layout.NewContext(&ops, e)
if t.QuitButton.Clicked() {
os.Exit(0)
}
t.Layout(gtx)
e.Frame(gtx.Ops)
}