Commit Graph
6 Commits
Author SHA1 Message Date
Henrik RydgårdandClaude Opus 5.5 36bd2e9249 IconCache: Know an icon's size before its texture exists
GetDimensions only answered once a texture had been created, so the first
MeasureNotice for a new icon (and after the texture was released for being
unused) measured without it, and the icon was then drawn over the text.
Read the size from the PNG header when the icon is inserted or loaded.

Also remove a width adjustment in MeasureNotice that was overwritten
before use.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 10:26:00 -06:00
Henrik Rydgård deb3314d46 Correct alignment in NoticeView
See #21223
2026-02-15 20:13:55 +01:00
Henrik Rydgård b1fa6b4671 Remove some uses of textScale 2026-02-06 14:30:47 +01:00
Henrik Rydgård 41bb9a04b3 Add visual notifications about game controller connect/disconnect 2026-01-26 10:57:41 +01:00
Henrik Rydgård 756d161070 Add a warning to control autoconfigure 2026-01-25 15:26:53 +01:00
Henrik Rydgård 34938e3de6 Move Notice to Common/UI 2026-01-25 15:10:26 +01:00