mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-27 02:34:45 +08:00
Compensate drag for scale
This commit is contained in:
@@ -32,4 +32,8 @@ export default class UEBlueprintDraggableObject extends HTMLElement {
|
||||
return this.location
|
||||
}
|
||||
|
||||
getScale() {
|
||||
return getComputedStyle(this).getPropertyValue('--ueb-scale')
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user