add widget.move event
This commit is contained in:
parent
4b31aceb4c
commit
49788df9b4
2 changed files with 2 additions and 1 deletions
|
|
@ -1662,6 +1662,7 @@ var gs_kiri_init = exports;
|
|||
let wmaxy = wminy + whei + delta.y;
|
||||
if (wminy < bminy || wmaxy > bmaxy) return;
|
||||
widget.move(delta.x, delta.y, 0);
|
||||
API.event.emit('widget.move', {widget, delta});
|
||||
});
|
||||
platform.update_stock();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue