From c5a17d895000b296e5bc07f9d08878de659f2266 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Thu, 8 Feb 2024 13:26:16 -0800 Subject: [PATCH] Clean up border rendering on Keyboard104 and spacing on the color and hamburger menu in the overview on the editor page --- src/renderer/screens/Editor/Keyboard104.js | 13 ++--------- .../screens/Editor/Sidebar/Overview.js | 22 +++++++++++++------ 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/renderer/screens/Editor/Keyboard104.js b/src/renderer/screens/Editor/Keyboard104.js index eaec0ea71..3056661ba 100644 --- a/src/renderer/screens/Editor/Keyboard104.js +++ b/src/renderer/screens/Editor/Keyboard104.js @@ -75,16 +75,7 @@ const KeySelector = (props) => { return ( - + { return ( { const color = colormap.palette[colorIndex]; colorWidget = ( - + theme.spacing(3) }}> theme.spacing(3), height: (theme) => theme.spacing(3) }} variant="square" @@ -165,7 +165,7 @@ const Overview = (props) => { {showColors && colorWidget} - + {HamburgerMenu(index)} @@ -194,12 +194,20 @@ const Overview = (props) => { - - {t("components.layerRaw")} + + {t("components.layerRaw")} + + + + {t("editor.overview.key", { index: selectedKey })} + - {t("editor.overview.key", { index: selectedKey })} - {showColors && {t("editor.overview.color")}} - + {showColors && ( + theme.spacing(3) }}> + {t("editor.overview.color")} + + )} +