mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-13 23:37:30 +08:00
Various color picker improvements
This commit is contained in:
@@ -28,15 +28,4 @@ export default class IDraggableTemplate extends ITemplate {
|
||||
this.createDraggableObject(),
|
||||
]
|
||||
}
|
||||
|
||||
/** @param {Map} changedProperties */
|
||||
update(changedProperties) {
|
||||
super.update(changedProperties)
|
||||
if (changedProperties.has("locationX")) {
|
||||
this.element.style.left = `${this.element.locationX}px`
|
||||
}
|
||||
if (changedProperties.has("locationY")) {
|
||||
this.element.style.top = `${this.element.locationY}px`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user