Skip to content

Commit

Permalink
Fix pyright error
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Aug 3, 2023
1 parent 8518a1d commit cc87b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions viser/_gui_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def add_gui_vector2(
id = _make_unique_id()

if step is None:
possible_steps = []
possible_steps: List[float] = []
possible_steps.extend([_compute_step(x) for x in initial_value])
if min is not None:
possible_steps.extend([_compute_step(x) for x in min])
Expand Down Expand Up @@ -384,7 +384,7 @@ def add_gui_vector3(
id = _make_unique_id()

if step is None:
possible_steps = []
possible_steps: List[float] = []
possible_steps.extend([_compute_step(x) for x in initial_value])
if min is not None:
possible_steps.extend([_compute_step(x) for x in min])
Expand Down

0 comments on commit cc87b11

Please sign in to comment.