Various styling fixes

This commit is contained in:
barsdeveloper
2023-05-21 02:21:52 +02:00
parent cccae45d7a
commit 6ed6d397a5
14 changed files with 80 additions and 42 deletions

View File

@@ -1,4 +1,3 @@
import Configuration from "../../Configuration.js"
import IPointing from "./IPointing.js"
/** @typedef {import("../../Blueprint.js").default} Blueprint */
@@ -9,7 +8,7 @@ export default class IMouseWheel extends IPointing {
#mouseWheelHandler = e => {
e.preventDefault()
const location = this.locationFromEvent(e)
this.wheel(Math.sign(e.deltaY * Configuration.mouseWheelFactor), location)
this.wheel(e.deltaY, location)
}
/** @param {WheelEvent} e */