You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WebCAD/src/Add-on/Command_Option.ts

14 lines
538 B

import { Command } from "../Editor/CommandMachine";
import { OptionModalStore, OptionModal } from "../UI/Components/Modal/OptionModal/OptionModal";
import { app } from "../ApplicationServices/Application";
import { ModalPosition } from "../UI/Components/Modal/ModalsManage";
export class Command_Options implements Command
{
async exec()
{
let OptionStore = OptionModalStore.GetInstance() as OptionModalStore;
app.Editor.ModalManage.RenderModal(OptionModal, ModalPosition.Center, { store: OptionStore });
}
}