improved help

This commit is contained in:
Stewart Allen 2020-02-08 21:01:00 -05:00
commit f020983742
3 changed files with 31 additions and 8 deletions

View file

@ -555,6 +555,7 @@ self.kiri.license = exports.LICENSE;
catalog : CATALOG,
getMode : getMode,
setMode : setMode,
switchMode : switchMode,
showModal : showModal,
hideModal : hideModal,
showDialog : showDialog,
@ -2345,6 +2346,10 @@ self.kiri.license = exports.LICENSE;
return settings.mode;
}
function switchMode(mode) {
setMode(mode, updatePlatformSize);
}
function setMode(mode, lock, then) {
hideModal();
hideDialog();