Add navigation components 131-150; pixel Pad, Finish, Park, Since
This commit is contained in:
63 files changed
+2776
-87
No files matched your search
+1
-1
@@ -42,7 +42,7 @@ func Toggle(c *ui.Context, text string, on *bool, o ToggleOptions) ToggleResult
|
||||
g.Sprite(pad, (h-o.Icon.H)/2+dy, o.Icon, 0, ink, 1)
|
||||
}
|
||||
g.Text(pad+lead, top+dy, text, ink, sc)
|
||||
finish(g, st)
|
||||
g.Finish(st)
|
||||
})
|
||||
res := ToggleResult{Element: shell, Changed: base.Changed()}
|
||||
if res.Changed {
|
||||
|
||||
Reference in new issue
Block a user