mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-27 02:34:45 +08:00
Refactoring, various fixes
This commit is contained in:
@@ -101,6 +101,7 @@ export default class IMouseClickDrag extends IPointing {
|
||||
if (self.started) {
|
||||
self.endDrag()
|
||||
}
|
||||
self.unclicked()
|
||||
if (self.#trackingMouse) {
|
||||
const dragEvent = self.getEvent(Configuration.trackingMouseEventName.end)
|
||||
this.target.dispatchEvent(dragEvent)
|
||||
@@ -146,4 +147,7 @@ export default class IMouseClickDrag extends IPointing {
|
||||
|
||||
endDrag() {
|
||||
}
|
||||
|
||||
unclicked(location) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user