mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-06-25 20:31:16 -03:00
feat(node-marker): add 🎯 emoji prefix to Mark as context menu item
This commit is contained in:
@@ -3,7 +3,7 @@ import { app } from "../../scripts/app.js";
|
|||||||
// =============================================================================
|
// =============================================================================
|
||||||
// Node Marker – right-click node marking (no dedicated node required)
|
// Node Marker – right-click node marking (no dedicated node required)
|
||||||
//
|
//
|
||||||
// Adds a "Mark as →" submenu with role options to any node's context menu.
|
// Adds a "🎯 Mark as →" submenu with role options to any node's context menu.
|
||||||
// Roles are stored in ``node.properties.lm_marker_role`` and automatically
|
// Roles are stored in ``node.properties.lm_marker_role`` and automatically
|
||||||
// persist with the workflow JSON.
|
// persist with the workflow JSON.
|
||||||
//
|
//
|
||||||
@@ -107,7 +107,7 @@ function buildMenuItems(node) {
|
|||||||
return [
|
return [
|
||||||
null,
|
null,
|
||||||
{
|
{
|
||||||
content: "Mark as",
|
content: "\uD83C\uDFAF Mark as",
|
||||||
has_submenu: true,
|
has_submenu: true,
|
||||||
submenu: {
|
submenu: {
|
||||||
options: buildSubmenuOptions(node),
|
options: buildSubmenuOptions(node),
|
||||||
|
|||||||
Reference in New Issue
Block a user