locking zooming via player input
This commit is contained in:
parent
ef3a7513e2
commit
092daa245f
4 changed files with 26 additions and 7 deletions
|
@ -1954,6 +1954,9 @@ ${escapedMessage}
|
|||
}
|
||||
|
||||
zoomByFactor(zoomFactor: number) {
|
||||
if (waScaleManager.isZoomingViaPlayerInputLocked()) {
|
||||
return;
|
||||
}
|
||||
waScaleManager.zoomModifier *= zoomFactor;
|
||||
biggestAvailableAreaStore.recompute();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue