From 8ced0ac952d9246b31f4bffaf77043ea350ee4ea Mon Sep 17 00:00:00 2001 From: emotion3459 <176516814+emotion3459@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:48:24 -0400 Subject: [PATCH] Update value scaling --- vsexprtools/variables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vsexprtools/variables.py b/vsexprtools/variables.py index 4ad720b..244d890 100644 --- a/vsexprtools/variables.py +++ b/vsexprtools/variables.py @@ -358,7 +358,7 @@ def depth(self) -> LiteralVar: # Helper functions def scale( - self, value: float, input_depth: int = 8, range_in: ColorRange = ColorRange.LIMITED, + self, value: float, input_depth: int = 8, range_in: ColorRangeT | None = None, range_out: ColorRangeT | None = None, offsets: bool = False ) -> ComplexVar: @ComplexVar.resolver