mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
Revert "Support associated socket for widgets" (#896)
Reverts Comfy-Org/litegraph.js#891 Temporary revert to unblock other PRs (causing test failures; frontend PR for this has not yet been merged).
This commit is contained in:
@@ -54,7 +54,7 @@ export class SliderWidget extends BaseWidget implements ISliderWidget {
|
||||
ctx.fillRect(margin, y, nvalue * (width - margin * 2), height)
|
||||
|
||||
// Draw outline if not disabled
|
||||
if (show_text && !this.computedDisabled) {
|
||||
if (show_text && !this.disabled) {
|
||||
ctx.strokeStyle = this.outline_color
|
||||
ctx.strokeRect(margin, y, width - margin * 2, height)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user