Tweak pinch-to-zoom timing
Toggle fullscreen immediately, then prevent future toggles for 1s.
This commit is contained in:
parent
78e46f5576
commit
e5fccd93a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue