Tweak pinch-to-zoom timing
Toggle fullscreen immediately, then prevent future toggles for 1s.
This commit is contained in:
@@ -148,7 +148,7 @@ function onState (err, _state) {
|
||||
|
||||
const debouncedFullscreenToggle = debounce(function () {
|
||||
dispatch('toggleFullScreen')
|
||||
}, 100)
|
||||
}, 1000, true)
|
||||
|
||||
document.addEventListener('wheel', function (event) {
|
||||
// ctrlKey detects pinch to zoom, http://crbug.com/289887
|
||||
|
||||
Reference in New Issue
Block a user