remove dead code
This commit is contained in:
parent
78bc7ef3f6
commit
0d6cd8280d
3 changed files with 4 additions and 39 deletions
|
|
@ -37,7 +37,7 @@
|
|||
newWidget = kiri.newWidget,
|
||||
// ---------------
|
||||
UI = {},
|
||||
UC = KIRI.ui.prefix('kiri').inputAction(updateSettings).hideAction(updateDialogLeft),
|
||||
UC = KIRI.ui.prefix('kiri').inputAction(updateSettings),
|
||||
MODE = MODES.FDM,
|
||||
STACKS = KIRI.stacks,
|
||||
DRIVER = undefined,
|
||||
|
|
@ -1887,16 +1887,6 @@
|
|||
showModal("saves");
|
||||
}
|
||||
|
||||
function updateDialogLeft() {
|
||||
return console.log('TODO updateDialogLeft');
|
||||
let left = UI.ctrlLeft.getBoundingClientRect();
|
||||
let right = UI.ctrlRight.getBoundingClientRect();
|
||||
UI.catalog.style.left = (left.width + 5) + 'px';
|
||||
UI.devices.style.left = (left.width + 5) + 'px';
|
||||
UI.tools.style.left = (left.width + 5) + 'px';
|
||||
UI.settings.style.right = (right.width + 5) + 'px';
|
||||
}
|
||||
|
||||
function showHelp() {
|
||||
showHelpFile(`/kiri/lang/${KIRI.lang.get()}-help.html?${KIRI.version}`,() => {
|
||||
const sel = $('help-sel');
|
||||
|
|
|
|||
Loading…
Reference in a new issue