From c628ae4b09b920fef7022b2a94f2e6b9c9ee854c Mon Sep 17 00:00:00 2001 From: Sander Schobers Date: Wed, 11 Aug 2021 06:23:20 +0200 Subject: [PATCH] Changed appearance of settings a little. --- cmd/tins2021/settings.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tins2021/settings.go b/cmd/tins2021/settings.go index 7af9ea8..3f077d4 100644 --- a/cmd/tins2021/settings.go +++ b/cmd/tins2021/settings.go @@ -86,7 +86,7 @@ func generateArrowKeysHighlight(resources ui.Resources, highlight [4]bool) image } return generateKeys(resources, - keyboardLayoutKey{Position: geom.PtF(.45, .25), Key: spaceOrRune('↑', !highlight[0]), Highlight: highlight[0]}, + keyboardLayoutKey{Position: geom.PtF(.53, .25), Key: spaceOrRune('↑', !highlight[0]), Highlight: highlight[0]}, keyboardLayoutKey{Position: geom.PtF(.2, .75), Key: spaceOrRune('←', !highlight[1]), Highlight: highlight[1]}, keyboardLayoutKey{Position: geom.PtF(.5, .75), Key: spaceOrRune('↓', !highlight[2]), Highlight: highlight[2]}, keyboardLayoutKey{Position: geom.PtF(.8, .75), Key: spaceOrRune('→', !highlight[3]), Highlight: highlight[3]}, @@ -315,7 +315,7 @@ func (s *settings) Render(ctx ui.Context) { } if s.SelectingCustom > 0 { - renderer.FillRectangle(bounds, zntg.MustHexColor(`#000000CF`)) + renderer.FillRectangle(bounds, zntg.MustHexColor(`#000000DF`)) selectTexture := fmt.Sprintf("layout-select-%d", s.SelectingCustom)