mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix watchers and intervals.
This commit is contained in:
@ -722,7 +722,9 @@ function restartInactiveCursorInterval() {
|
||||
}
|
||||
}
|
||||
|
||||
watch([focused, props.isControling, props.inactiveCursors], restartInactiveCursorInterval)
|
||||
watch(focused, restartInactiveCursorInterval)
|
||||
watch(() => props.inactiveCursors, restartInactiveCursorInterval)
|
||||
watch(() => props.isControling, restartInactiveCursorInterval)
|
||||
|
||||
function saveInactiveMousePos(e: MouseEvent) {
|
||||
const pos = getMousePos(e.clientX, e.clientY)
|
||||
|
Reference in New Issue
Block a user