mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-17 03:14:41 +08:00
10 lines
269 B
JavaScript
Executable File
10 lines
269 B
JavaScript
Executable File
import MouseWheel from "./MouseWheel";
|
|
|
|
export default class Zoom extends MouseWheel {
|
|
wheel(variation, location) {
|
|
let zoomLevel = this.blueprint.getZoom()
|
|
zoomLevel -= variation
|
|
this.blueprint.setZoom(zoomLevel, location)
|
|
}
|
|
}
|