Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix resolution selector megapixel precision (#17555)

PengGao403f565767b0
diff --git a/comfy_extras/nodes_resolution.py b/comfy_extras/nodes_resolution.py
index 945a05538..49749de57 100644
--- a/comfy_extras/nodes_resolution.py
+++ b/comfy_extras/nodes_resolution.py
@@ -49,7 +49,7 @@ class ResolutionSelector(io.ComfyNode):
default=1.0,
min=0.1,
max=16.0,
- step=0.1,
+ step=0.01,
tooltip="Target total megapixels. 1.0 MP ≈ 1024x1024 for square.",
),
io.ResolutionPreview.Input(