mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-07 18:27:40 +08:00
code improve
This commit is contained in:
parent
c39c3682e2
commit
65f2ad7c88
@ -1250,7 +1250,7 @@ class Curve(ComfyTypeIO):
|
|||||||
socketless: bool=True, default: list[tuple[float, float]]=None, advanced: bool=None):
|
socketless: bool=True, default: list[tuple[float, float]]=None, advanced: bool=None):
|
||||||
super().__init__(id, display_name, optional, tooltip, None, default, socketless, None, None, None, None, advanced)
|
super().__init__(id, display_name, optional, tooltip, None, default, socketless, None, None, None, None, advanced)
|
||||||
if default is None:
|
if default is None:
|
||||||
self.default = [[0.0, 0.0], [1.0, 1.0]]
|
self.default = [(0.0, 0.0), (1.0, 1.0)]
|
||||||
|
|
||||||
|
|
||||||
DYNAMIC_INPUT_LOOKUP: dict[str, Callable[[dict[str, Any], dict[str, Any], tuple[str, dict[str, Any]], str, list[str] | None], None]] = {}
|
DYNAMIC_INPUT_LOOKUP: dict[str, Callable[[dict[str, Any], dict[str, Any], tuple[str, dict[str, Any]], str, list[str] | None], None]] = {}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user