add engine and frame apis for enabling threading and wasm

This commit is contained in:
Stewart Allen 2022-03-03 13:10:32 -05:00
commit 0584357287
5 changed files with 48 additions and 12 deletions

View file

@ -165,6 +165,8 @@ gapp.register("kiri.init", [], (root, exports) => {
return bool;
}
api.event.on("set.threaded", bool => setThreaded(bool));
function booleanSave() {
let control = settings().controller;
let isDark = control.dark;