mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +02:00
fix: saveVRCXWindowOption
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user