Skip to content

Commit 882d6c9

Browse files
committed
Set defaults and slider max properly for latency
1 parent cafdf72 commit 882d6c9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

DevocubFilters/AntiChatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public Vector2 Filter(Vector2 point)
8787

8888
public static FilterStage FilterStage => FilterStage.PostTranspose;
8989

90-
[SliderProperty("Latency", 0f, 5f, 2f)]
90+
[SliderProperty("Latency", 0f, 1000f, 2f)]
9191
public float Latency
9292
{
9393
set => this.latency = Math.Clamp(value, 0, 1000);

HawkuFilters/Smoothing.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public Vector3 Filter(Vector3 point)
6060

6161
public static FilterStage FilterStage => FilterStage.PostTranspose;
6262

63-
[SliderProperty("Latency", 0f, 5f, 2f)]
64-
public float Latency { set; get; }
63+
[SliderProperty("Latency", 0f, 1000f, 2f)]
64+
public float Latency { set; get; } = 2f;
6565

6666
public float TimerInterval
6767
{

0 commit comments

Comments
 (0)