Skip to content

Commit

Permalink
Update value scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
emotion3459 committed Oct 14, 2024
1 parent 54e2e82 commit 96f745b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsexprtools/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)

from vstools import (
ByteData, ColorRange, ColorRangeT, F, Self, get_depth, get_lowest_value, get_neutral_value, get_peak_value,
ByteData, ColorRangeT, F, Self, get_depth, get_lowest_value, get_neutral_value, get_peak_value,
get_plane_sizes, scale_value, vs
)

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 96f745b

Please sign in to comment.