Closed caesarsol closed 7 years ago
Is there something I'm missing, or is it right that the detachListeners function is not actually called on enable = false?
detachListeners
enable = false
See https://github.com/mikolalysenko/mouse-change/blob/master/mouse-listen.js#L182
That's a bug
Thanks! Fixed in https://github.com/mikolalysenko/mouse-change/commit/78fed9cabb647ba76247c3bf2295abac72c8a978
Is there something I'm missing, or is it right that the
detachListeners
function is not actually called onenable = false
?See https://github.com/mikolalysenko/mouse-change/blob/master/mouse-listen.js#L182