refactor: adjust code for debounce v3

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-11-26 00:57:42 +01:00 committed by nextcloud-command
parent c3ec3aa346
commit 776c960308
2 changed files with 2 additions and 2 deletions

View file

@ -121,7 +121,7 @@ export default Vue.extend({
this.tableHeight = root?.clientHeight ?? 0
logger.debug('VirtualList resizeObserver updated')
this.onScroll()
}, 100, false))
}, 100))
this.resizeObserver.observe(root)
this.resizeObserver.observe(tfoot)

View file

@ -112,7 +112,7 @@ export default {
if (wasAway) {
this._backgroundHeartbeat()
}
}, 1000 * 2, true)
}, 1000 * 2, { immediate: true })
window.addEventListener('mousemove', this.mouseMoveListener, {
capture: true,
passive: true,