mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
Hard-coded node border
This commit is contained in:
@@ -86,6 +86,9 @@ export const useLitegraphService = () => {
|
|||||||
* @internal Setup stroke styles for the node under various conditions.
|
* @internal Setup stroke styles for the node under various conditions.
|
||||||
*/
|
*/
|
||||||
#setupStrokeStyles() {
|
#setupStrokeStyles() {
|
||||||
|
this.strokeStyles['noice'] = function (this: LGraphNode) {
|
||||||
|
return { color: '#f0ff41', lineWidth: 1, padding: 0.5 }
|
||||||
|
}
|
||||||
this.strokeStyles['running'] = function (this: LGraphNode) {
|
this.strokeStyles['running'] = function (this: LGraphNode) {
|
||||||
if (this.id == app.runningNodeId) {
|
if (this.id == app.runningNodeId) {
|
||||||
return { color: '#0f0' }
|
return { color: '#0f0' }
|
||||||
|
|||||||
Reference in New Issue
Block a user