mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
WebUI: add missing debounce handler
This commit is contained in:
parent
617b1da842
commit
32f87b2e10
1 changed files with 2 additions and 2 deletions
|
@ -277,9 +277,9 @@ const initializeWindows = () => {
|
||||||
paddingHorizontal: 0,
|
paddingHorizontal: 0,
|
||||||
width: loadWindowWidth(id, 900),
|
width: loadWindowWidth(id, 900),
|
||||||
height: loadWindowHeight(id, 400),
|
height: loadWindowHeight(id, 400),
|
||||||
onResize: () => {
|
onResize: window.qBittorrent.Misc.createDebounceHandler(500, (e) => {
|
||||||
saveWindowSize(id);
|
saveWindowSize(id);
|
||||||
}
|
})
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue