Compensate drag for scale

This commit is contained in:
barsdeveloper
2021-10-04 00:48:38 +02:00
parent fece3da438
commit 1842e45888
4 changed files with 14 additions and 4 deletions

View File

@@ -32,4 +32,8 @@ export default class UEBlueprintDraggableObject extends HTMLElement {
return this.location
}
getScale() {
return getComputedStyle(this).getPropertyValue('--ueb-scale')
}
}