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