mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +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.
|
||||
*/
|
||||
#setupStrokeStyles() {
|
||||
this.strokeStyles['noice'] = function (this: LGraphNode) {
|
||||
return { color: '#f0ff41', lineWidth: 1, padding: 0.5 }
|
||||
}
|
||||
this.strokeStyles['running'] = function (this: LGraphNode) {
|
||||
if (this.id == app.runningNodeId) {
|
||||
return { color: '#0f0' }
|
||||
|
||||
Reference in New Issue
Block a user