View / better names for getValid* and applyParameters_ methods
This commit is contained in:
@@ -116,7 +116,7 @@ class Zoom extends Control {
|
||||
}
|
||||
const currentZoom = view.getZoom();
|
||||
if (currentZoom !== undefined) {
|
||||
const newZoom = view.getValidZoomLevel(currentZoom + delta);
|
||||
const newZoom = view.getConstrainedZoom(currentZoom + delta);
|
||||
if (this.duration_ > 0) {
|
||||
if (view.getAnimating()) {
|
||||
view.cancelAnimations();
|
||||
|
||||
Reference in New Issue
Block a user