mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-25 14:25:44 -03:00
Added tooltip to mask visibility switch
This commit is contained in:
@@ -453,7 +453,8 @@ async function createCanvasWidget(node, widget, app) {
|
|||||||
$el("div.painter-button-group", { id: "mask-controls" }, [
|
$el("div.painter-button-group", { id: "mask-controls" }, [
|
||||||
$el("label.clipboard-switch.mask-switch", {
|
$el("label.clipboard-switch.mask-switch", {
|
||||||
id: `toggle-mask-switch-${node.id}`,
|
id: `toggle-mask-switch-${node.id}`,
|
||||||
style: { minWidth: "56px", maxWidth: "56px", width: "56px", paddingLeft: "0", paddingRight: "0" }
|
style: { minWidth: "56px", maxWidth: "56px", width: "56px", paddingLeft: "0", paddingRight: "0" },
|
||||||
|
title: "Toggle mask overlay visibility on canvas (mask still affects output when disabled)"
|
||||||
}, [
|
}, [
|
||||||
$el("input", {
|
$el("input", {
|
||||||
type: "checkbox",
|
type: "checkbox",
|
||||||
|
|||||||
@@ -534,7 +534,8 @@ async function createCanvasWidget(node: ComfyNode, widget: any, app: ComfyApp):
|
|||||||
$el("div.painter-button-group", {id: "mask-controls"}, [
|
$el("div.painter-button-group", {id: "mask-controls"}, [
|
||||||
$el("label.clipboard-switch.mask-switch", {
|
$el("label.clipboard-switch.mask-switch", {
|
||||||
id: `toggle-mask-switch-${node.id}`,
|
id: `toggle-mask-switch-${node.id}`,
|
||||||
style: { minWidth: "56px", maxWidth: "56px", width: "56px", paddingLeft: "0", paddingRight: "0" }
|
style: { minWidth: "56px", maxWidth: "56px", width: "56px", paddingLeft: "0", paddingRight: "0" },
|
||||||
|
title: "Toggle mask overlay visibility on canvas (mask still affects output when disabled)"
|
||||||
}, [
|
}, [
|
||||||
$el("input", {
|
$el("input", {
|
||||||
type: "checkbox",
|
type: "checkbox",
|
||||||
|
|||||||
Reference in New Issue
Block a user