mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 05:22:34 +08:00
clean code
This commit is contained in:
parent
7dc1dd6503
commit
9926897b78
@ -79,25 +79,6 @@ class MaskEditorDialog extends ComfyDialog {
|
||||
|
||||
createButtons() {
|
||||
return [];
|
||||
// $el("button", {
|
||||
// type: "button",
|
||||
// textContent: "Save",
|
||||
// onclick: () => this.save(),
|
||||
// }),
|
||||
// $el("button", {
|
||||
// type: "button",
|
||||
// textContent: "Cancel",
|
||||
// onclick: () => this.close(),
|
||||
// }),
|
||||
// $el("button", {
|
||||
// type: "button",
|
||||
// textContent: "Clear",
|
||||
// onclick: () => {
|
||||
// this.maskCtx.clearRect(0, 0, this.maskCanvas.width, this.maskCanvas.height);
|
||||
// this.backupCtx.clearRect(0, 0, this.backupCanvas.width, this.backupCanvas.height);
|
||||
// },
|
||||
// }),
|
||||
// ];
|
||||
}
|
||||
|
||||
clearMask(self) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user