add missing legacy api calls

This commit is contained in:
Stewart Allen 2020-03-09 11:12:11 -04:00
commit 842f2b4ee0

View file

@ -178,6 +178,9 @@ self.kiri.license = exports.LICENSE;
export: exportPrint,
clear: clearWidgetCache
},
hide: {
import: function() { UI.import.style.display = 'none' }
},
modal: {
show: showModal,
hide: hideModal,
@ -206,7 +209,8 @@ self.kiri.license = exports.LICENSE;
controls: setControlsVisible,
favorites: getShowFavorites,
slices: showSlices,
local: showLocal
local: showLocal,
import: function() { UI.import.style.display = '' }
},
space: {
restore: restoreWorkspace,