From 4ba22718cce29f784f97e8a74733e53e15a1e4e4 Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Thu, 31 Aug 2023 15:38:12 +0200
Subject: refactor(frontend): secondary pane switch shortcut

---
 subprojects/frontend/src/PaneButtons.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'subprojects/frontend/src/PaneButtons.tsx')

diff --git a/subprojects/frontend/src/PaneButtons.tsx b/subprojects/frontend/src/PaneButtons.tsx
index 9df56baa..7e884ab0 100644
--- a/subprojects/frontend/src/PaneButtons.tsx
+++ b/subprojects/frontend/src/PaneButtons.tsx
@@ -110,7 +110,7 @@ function PaneButtons({
         selected={themeStore.showGraph}
         onClick={(event) => {
           if (event.shiftKey || event.ctrlKey) {
-            themeStore.setSelectedPane('graph');
+            themeStore.setSelectedPane('graph', event.shiftKey);
           } else {
             themeStore.toggleGraph();
           }
@@ -124,7 +124,7 @@ function PaneButtons({
         selected={themeStore.showTable}
         onClick={(event) => {
           if (event.shiftKey || event.ctrlKey) {
-            themeStore.setSelectedPane('table');
+            themeStore.setSelectedPane('table', event.shiftKey);
           } else {
             themeStore.toggleTable();
           }
-- 
cgit v1.2.3-54-g00ecf

