fix(editor): Fix keyboard shortcut bugs in the log view (#16393)

This commit is contained in:
Suguru Inoue
2025-06-17 11:38:32 +02:00
committed by GitHub
parent 9805bd3a6d
commit 4acebabb4f
5 changed files with 60 additions and 37 deletions

View File

@@ -95,6 +95,10 @@ export const useBuilderStore = defineStore(STORES.BUILDER, () => {
// Looks smoother if we wait for slide animation to finish before updating the grid width
// Has to wait for longer than SlideTransition duration
setTimeout(() => {
if (!window) {
return; // for unit testing
}
uiStore.appGridDimensions = {
...uiStore.appGridDimensions,
width: window.innerWidth,