b10e1a5a87
The first resize-jitter fix (366fd6d) only snapped card transforms, not the Sprite::custom_size. Cards stayed at the old size after a window resize until the next StateChangedEvent (move, draw, undo, new-game) refreshed them via sync_cards_on_change. Reported during smoke testing: "the placeholder grey boxes change size but the cards do not until I make an update to the window". Replace the manual transform-only loop in snap_cards_on_window_resize with a call to sync_cards(slide_secs = 0.0). update_card_entity unconditionally inserts a fresh Sprite via card_sprite() with the current layout.card_size, so cards now visibly resize. With slide_secs=0 it also takes the snap branch (no CardAnim slide), so the underlying jitter fix from366fd6dis preserved. apply_stock_empty_indicator is still called separately because sync_cards doesn't touch the stock-empty "↺" label. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>