From 0186662ea314768555737509db91e4dffa9f611e Mon Sep 17 00:00:00 2001 From: Alexander Piskun <13381981+bigcat88@users.noreply.github.com> Date: Mon, 26 Aug 2024 14:42:24 +0300 Subject: [PATCH] disabled rounding for `VixUiRangeFloat` and `VixUiRangeScaleFloat` (2) Signed-off-by: Alexander Piskun --- __init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__init__.py b/__init__.py index 3a5f649..b3c2fea 100644 --- a/__init__.py +++ b/__init__.py @@ -41,7 +41,7 @@ class VixUiRangeFloat: def INPUT_TYPES(cls): return { "required": { - "value": ("FLOAT", {"default": 4.0}), + "value": ("FLOAT", {"default": 4.0, "round": False}), "display_name": ("STRING", {"default": "Display Range"}), "optional": ("BOOLEAN", {"default": True}), "advanced": ("BOOLEAN", {"default": True}), @@ -70,7 +70,7 @@ class VixUiRangeScaleFloat: def INPUT_TYPES(cls): return { "required": { - "value": ("FLOAT", {"default": 4.0}), + "value": ("FLOAT", {"default": 4.0, "round": False}), "display_name": ("STRING", {"default": "Image Size Factor"}), "optional": ("BOOLEAN", {"default": True}), "advanced": ("BOOLEAN", {"default": True}),