From bb8596f89e1f83b5c31f0293bcba9dd241f84fa9 Mon Sep 17 00:00:00 2001 From: McKayla Lankau Date: Tue, 15 Oct 2024 16:12:36 -0400 Subject: [PATCH] Open Advanced Grid Settings from the +# Badge also (#6545) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • making the badge that tells you how many advanced settings are set, into an actual button, with a hover state, theme responsive color, that actually opens the advanced grid settings popup • fixing the broken colors in the dark theme of the advanced settings popup | Before | After | | ------------- | ------------- | | ![before](https://github.com/user-attachments/assets/44aeed14-44ec-4eb8-a1b3-f9618b598b3f)| ![after](https://github.com/user-attachments/assets/e4c6d820-cfa1-486b-bcbc-76f6da3e082c) | | Screenshot 2024-10-15 at 4 01 33 PM | Screenshot 2024-10-15 at 4 02 04 PM | | Screenshot 2024-10-15 at 4 03 03 PM |Screenshot 2024-10-15 at 4 02 33 PM | --- .../inspector/add-remove-layout-system-control.tsx | 5 +++-- .../components/inspector/controls/advanced-grid-modal.tsx | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/editor/src/components/inspector/add-remove-layout-system-control.tsx b/editor/src/components/inspector/add-remove-layout-system-control.tsx index 6d8d5499bb3a..3da4b06c2f8f 100644 --- a/editor/src/components/inspector/add-remove-layout-system-control.tsx +++ b/editor/src/components/inspector/add-remove-layout-system-control.tsx @@ -247,9 +247,10 @@ export const AddRemoveLayoutSystemControl = React.memo 0 && !menuOpen && !popupOpen,