fix widget move event
This commit is contained in:
parent
ebd4de2a5a
commit
12052b90e7
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ class Widget {
|
|||
});
|
||||
// allow for use in engine / cli
|
||||
if ((x || y || z) && api && api.event) {
|
||||
api.event.emit('widget.move', {widget: this, pos});
|
||||
api.event.emit('widget.move', {widget: this, pos: {x, y, z}, abs});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue