mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-23 15:24:45 +08:00
Various fixes
This commit is contained in:
@@ -14,6 +14,9 @@ export default class Pointing extends Context {
|
||||
* @returns
|
||||
*/
|
||||
locationFromEvent(mouseEvent) {
|
||||
return Utility.convertLocation([mouseEvent.clientX, mouseEvent.clientY], this.movementSpace)
|
||||
return this.blueprint.compensateTranslation(
|
||||
Utility.convertLocation(
|
||||
[mouseEvent.clientX, mouseEvent.clientY],
|
||||
this.movementSpace))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user