From da54faf8e233ae267fbcca9b96f2d4dc8cefde13 Mon Sep 17 00:00:00 2001 From: funman300 Date: Sat, 16 May 2026 12:31:18 -0700 Subject: [PATCH] =?UTF-8?q?feat(engine):=20tighten=20tableau=20card=20fan?= =?UTF-8?q?=20offset=20(0.25=E2=86=920.18,=200.20=E2=86=920.14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- solitaire_engine/src/layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solitaire_engine/src/layout.rs b/solitaire_engine/src/layout.rs index e8b8c0a..3b652d7 100644 --- a/solitaire_engine/src/layout.rs +++ b/solitaire_engine/src/layout.rs @@ -75,7 +75,7 @@ const VERTICAL_GAP_FRAC: f32 = 0.2; /// column must fit at this fraction). On desktop (height-limited) windows the /// adaptive computation returns this value exactly; on portrait phones it /// expands to fill available vertical space. -const TABLEAU_FAN_FRAC: f32 = 0.25; +const TABLEAU_FAN_FRAC: f32 = 0.18; /// Minimum fraction for face-down tableau cards. Scales proportionally with /// the adaptive face-up fraction so hit-testing and rendering stay in sync. @@ -84,7 +84,7 @@ const TABLEAU_FAN_FRAC: f32 = 0.25; /// enough of each card back to read as a meaningful stack rather than a /// thin sliver. The ratio to TABLEAU_FAN_FRAC (0.80) is preserved by /// the adaptive scaling in `compute_layout`. -const TABLEAU_FACEDOWN_FAN_FRAC: f32 = 0.20; +const TABLEAU_FACEDOWN_FAN_FRAC: f32 = 0.14; /// Largest possible face-up tableau column in Klondike: a King down to an Ace /// after every face-down card has flipped on column 7. Layout sizing must keep