Skip to content

Fix toolbar widgets pressed state#3606

Merged
AaronVanGeffen merged 4 commits intoOpenLoco:masterfrom
AaronVanGeffen:pressed-toolbar-widgets
Jan 14, 2026
Merged

Fix toolbar widgets pressed state#3606
AaronVanGeffen merged 4 commits intoOpenLoco:masterfrom
AaronVanGeffen:pressed-toolbar-widgets

Conversation

@AaronVanGeffen
Copy link
Copy Markdown
Member

@AaronVanGeffen AaronVanGeffen commented Jan 6, 2026

This brings back the toolbar widget type, facilitating their unique hover states. We reuse the ImageButton type for drawing to not unnecessarily duplicate code.

Before:
Boulder Breakers

After:
Boulder Breakers (1)

(The zoom menu isn't the best example, in retrospect. The floppy/save menu actually opens up.)

Fixes #2863
Based on #3605

@AaronVanGeffen AaronVanGeffen added the changelog Requires a changelog entry label Jan 6, 2026
@AaronVanGeffen AaronVanGeffen added this to the v25.12+ milestone Jan 6, 2026
@AaronVanGeffen AaronVanGeffen force-pushed the pressed-toolbar-widgets branch from 68432c7 to 7c17dfc Compare January 7, 2026 19:17
@AaronVanGeffen AaronVanGeffen force-pushed the pressed-toolbar-widgets branch from 7c17dfc to 86c99ed Compare January 14, 2026 18:48
@AaronVanGeffen AaronVanGeffen merged commit f4ef06f into OpenLoco:master Jan 14, 2026
18 checks passed
@AaronVanGeffen AaronVanGeffen deleted the pressed-toolbar-widgets branch January 14, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog Requires a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toolbar icons don't 'activate' on hover

3 participants