mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 17:43:23 -08:00
The badge rendered `theme:icons/pin` through the pixmap generator, which resolved `currentColor` once and cached the result, so the glyph stayed at its first palette and was rasterized at DPR 1. - Render the glyph through `loadThemedIcon`, at the label's device pixel ratio, and re-render it on palette and theme changes. - Compose it onto a rounded backdrop filled with `Window` and outlined with `WindowText`. The badge floats on card art rather than on a palette surface, so a bare outline vanishes into art of the same lightness; the backdrop keeps it readable on every printing, and both roles still follow the palette. |
||
|---|---|---|
| .. | ||
| cards | ||
| deck_analytics | ||
| deck_editor | ||
| deck_share | ||
| dialogs | ||
| general | ||
| menus | ||
| onboarding | ||
| playmat | ||
| printing_selector | ||
| quick_settings | ||
| replay | ||
| server | ||
| settings_page | ||
| tabs | ||
| utility | ||
| visual_database_display | ||
| visual_deck_editor | ||
| visual_deck_storage | ||