add widget add, delete, select, deselect, move events
This commit is contained in:
parent
e8a7dfc8d0
commit
7ca3cc505c
2 changed files with 13 additions and 4 deletions
|
|
@ -415,7 +415,10 @@ var gs_kiri_widget = exports;
|
|||
pos.y += (y || 0);
|
||||
pos.z += (z || 0);
|
||||
}
|
||||
if (x || y || z) this.modified = true;
|
||||
if (x || y || z) {
|
||||
this.modified = true;
|
||||
KIRI.api.event.emit('widget.move', {widget: this, pos});
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue