refactor(tracker/gioui): remove unused function parameters

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-11-02 16:18:24 +02:00
parent fa9654d311
commit 6978dd4afe
2 changed files with 4 additions and 4 deletions

View File

@ -177,7 +177,7 @@ func (t *Tracker) Main() {
}
gtx := app.NewContext(&ops, e)
gtx.Values = globals
t.Layout(gtx, w)
t.Layout(gtx)
e.Frame(gtx.Ops)
if t.Quitted() {
w.Perform(system.ActionClose)
@ -218,7 +218,7 @@ func titleFromPath(path string) string {
return fmt.Sprintf("Sointu Tracker - %s", path)
}
func (t *Tracker) Layout(gtx layout.Context, w *app.Window) {
func (t *Tracker) Layout(gtx layout.Context) {
zoomFactor := ZoomFactors[t.Zoom]
gtx.Metric.PxPerDp *= zoomFactor
gtx.Metric.PxPerSp *= zoomFactor