mirror of https://gitee.com/cf-fz/WebCAD.git
parent
b52b8019f9
commit
48c73f3a36
@ -0,0 +1,11 @@
|
||||
|
||||
export class Command_ToggleUI
|
||||
{
|
||||
async exec()
|
||||
{
|
||||
let els = ["#TopPanel", "#TopToolBar"].map(e => document.querySelector(e) as HTMLElement);
|
||||
|
||||
for (let el of els)
|
||||
el.style.display = el.style.display === "none" ? "block" : "none";
|
||||
}
|
||||
}
|
Loading…
Reference in new issue