aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/PaneButtons.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/PaneButtons.tsx')
-rw-r--r--subprojects/frontend/src/PaneButtons.tsx4
1 files changed, 2 insertions, 2 deletions
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({
110 selected={themeStore.showGraph} 110 selected={themeStore.showGraph}
111 onClick={(event) => { 111 onClick={(event) => {
112 if (event.shiftKey || event.ctrlKey) { 112 if (event.shiftKey || event.ctrlKey) {
113 themeStore.setSelectedPane('graph'); 113 themeStore.setSelectedPane('graph', event.shiftKey);
114 } else { 114 } else {
115 themeStore.toggleGraph(); 115 themeStore.toggleGraph();
116 } 116 }
@@ -124,7 +124,7 @@ function PaneButtons({
124 selected={themeStore.showTable} 124 selected={themeStore.showTable}
125 onClick={(event) => { 125 onClick={(event) => {
126 if (event.shiftKey || event.ctrlKey) { 126 if (event.shiftKey || event.ctrlKey) {
127 themeStore.setSelectedPane('table'); 127 themeStore.setSelectedPane('table', event.shiftKey);
128 } else { 128 } else {
129 themeStore.toggleTable(); 129 themeStore.toggleTable();
130 } 130 }