简易策略支持中键滚动 (#2660)

This commit is contained in:
躁动的氨气
2026-01-19 21:13:55 +08:00
committed by GitHub
parent 61eb5f4fe3
commit e25194e29a
3 changed files with 18 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ public class Method
public static readonly Method KeyDown = new(["keydown"]);
public static readonly Method KeyUp = new(["keyup"]);
public static readonly Method KeyPress = new(["keypress"]);
public static readonly Method Scroll = new(["scroll", "verticalscroll"]);
public static readonly Method Round = new(["round"]);
public static IEnumerable<Method> Values
@@ -63,6 +64,7 @@ public class Method
yield return KeyDown;
yield return KeyUp;
yield return KeyPress;
yield return Scroll;
yield return Round;
}
}