From 73bfc3d4dcf63a5f76ab31c2e9e6f9f0c340b631 Mon Sep 17 00:00:00 2001 From: pa Date: Sun, 20 Jul 2025 20:02:47 +0900 Subject: [PATCH] fix: saveVRCXWindowOption --- src/stores/vrcx.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stores/vrcx.js b/src/stores/vrcx.js index 59b8e528..cd5f2b9b 100644 --- a/src/stores/vrcx.js +++ b/src/stores/vrcx.js @@ -73,18 +73,18 @@ export const useVrcxStore = defineStore('Vrcx', () => { window.electron.onWindowPositionChanged((event, position) => { state.locationX = position.x; state.locationY = position.y; - debounce(saveVRCXWindowOption(), 300); + debounce(saveVRCXWindowOption, 300)(); }); window.electron.onWindowSizeChanged((event, size) => { state.sizeWidth = size.width; state.sizeHeight = size.height; - debounce(saveVRCXWindowOption(), 300); + debounce(saveVRCXWindowOption, 300)(); }); window.electron.onWindowStateChange((event, state) => { state.windowState = state; - debounce(saveVRCXWindowOption(), 300); + debounce(saveVRCXWindowOption, 300)(); }); // window.electron.onWindowClosed((event) => {