Commit graph

2 commits

Author SHA1 Message Date
Lukas Brübach
60941f5c70 Draw the token preview P/T as the hover-panel pill
The preview painted the name and P/T unconditionally: the name duplicated the
artwork, and the raw P/T text was drawn even when it matched the printed value,
which looked wrong at non-default dialog sizes.

- Suppress the card name over a token picture via a small AbstractCardItem hook;
  cards without art still show it.
- Draw only a P/T that differs from the printed getPowTough() as the #7700
  hover-panel pill: dark rounded scrim, bold white text, anchored on the printed
  P/T box and clamped inside the card.
- Use designated CardRef initializers in the new code.

The face-up draft still previews while face-down creation is selected.
2026-11-09 09:53:57 +01:00
Bryce!
72bd5e8af1 Preview token edits live and preserve custom drafts 2026-11-09 09:37:27 +01:00