locking zooming via player input
This commit is contained in:
@@ -1954,6 +1954,9 @@ ${escapedMessage}
|
||||
}
|
||||
|
||||
zoomByFactor(zoomFactor: number) {
|
||||
if (waScaleManager.isZoomingViaPlayerInputLocked()) {
|
||||
return;
|
||||
}
|
||||
waScaleManager.zoomModifier *= zoomFactor;
|
||||
biggestAvailableAreaStore.recompute();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user