fix widget move event

This commit is contained in:
Stewart Allen 2022-11-08 22:22:47 -05:00
commit 12052b90e7

View file

@ -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});
}
}