Skip to content

Fix StyleManager cache key using nullable parameter instead of resolved value#108

Open
Beldaa wants to merge 1 commit intotoptensoftware:mainfrom
Beldaa:fix/stylemanager-cache-key-fontwidth
Open

Fix StyleManager cache key using nullable parameter instead of resolved value#108
Beldaa wants to merge 1 commit intotoptensoftware:mainfrom
Beldaa:fix/stylemanager-cache-key-fontwidth

Conversation

@Beldaa
Copy link
Copy Markdown

@Beldaa Beldaa commented Apr 18, 2026

Fixes #107

…ed value

The style cache key used fontWidth (the nullable parameter, often null) instead of rFontWidth (the resolved value). This caused styles with different font widths to collide in the cache, returning incorrect styles.
@Beldaa Beldaa closed this Apr 18, 2026
@Beldaa Beldaa changed the title Fixes #107 Fix StyleManager cache key using nullable parameter instead of resolved value Apr 18, 2026
@Beldaa Beldaa reopened this Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StyleManager cache key uses unresolved fontWidth parameter

1 participant