fix up dependencies

This commit is contained in:
Stewart Allen 2022-02-22 11:32:35 -05:00
commit 202bf2f8fd
25 changed files with 80 additions and 124 deletions

View file

@ -6,7 +6,6 @@ gapp.register("kiri.widgets", [], (root, exports) => {
const { data, kiri, moto, noop } = root;
const { api, consts, utils, newWidget, Widget } = kiri;
const { space } = moto;
let WIDGETS = [];
@ -89,7 +88,7 @@ function meshes() {
function opacity(value) {
api.widgets.each(w => w.setOpacity(value));
space.update();
moto.space.update();
}
const widgets = api.widgets = {