From c7f2c51fec1e1e12879e574c3f3194235d2ef614 Mon Sep 17 00:00:00 2001 From: MpakobecEx Date: Sun, 1 Nov 2026 21:40:11 +0500 Subject: [PATCH] =?UTF-8?q?client:=20DeckBuilder=20=E2=80=94=208=20=D0=BA?= =?UTF-8?q?=D0=B0=D1=80=D1=82=20=D0=B2=20=D1=80=D1=8F=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ячейка 160×280: арт 160×234 (пропорция 350:511) + количество 46. - При 1920 px помещаются 8 колонок; шаг колеса — одна полоса (294 px). - Проверки: EditMode 69/69, standalone собран. --- client/Assets/Vanguard/Runtime/UI/DeckBuilderView.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/Assets/Vanguard/Runtime/UI/DeckBuilderView.cs b/client/Assets/Vanguard/Runtime/UI/DeckBuilderView.cs index 5ce4461..0a00ed8 100644 --- a/client/Assets/Vanguard/Runtime/UI/DeckBuilderView.cs +++ b/client/Assets/Vanguard/Runtime/UI/DeckBuilderView.cs @@ -206,7 +206,7 @@ namespace Vanguard.UI var scroll = UiKit.CreateGridScrollView( collectionArea, "CollectionGrid", - new Vector2(266f, 434f), + new Vector2(160f, 280f), new Vector2(14f, 14f), out _collectionContent); var scrollElement = scroll.gameObject.AddComponent(); @@ -215,7 +215,7 @@ namespace Vanguard.UI var smooth = scroll.GetComponent(); if (smooth != null) - smooth.WheelStep = 448f; + smooth.WheelStep = 294f; var grid = _collectionContent.GetComponent(); if (grid != null) @@ -907,7 +907,7 @@ namespace Vanguard.UI } var art = UiKit.CreatePanel(cell, "Art", Color.white); - UiKit.SetPreferredHeight(art, 388f); + UiKit.SetPreferredHeight(art, 234f); CardImageService.Apply( art.GetComponent(), meta.ImageKey, @@ -920,12 +920,12 @@ namespace Vanguard.UI qty, "Counts", CountText(item), - 14, + 12, new Color(0.90f, 0.86f, 0.70f), TextAnchor.MiddleCenter); UiKit.Stretch(counts.rectTransform); - counts.rectTransform.offsetMin = new Vector2(8f, 0f); - counts.rectTransform.offsetMax = new Vector2(-8f, 0f); + counts.rectTransform.offsetMin = new Vector2(4f, 0f); + counts.rectTransform.offsetMax = new Vector2(-4f, 0f); _countTexts[item.PrintingId] = counts; }