summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchocoblocko9 <91826251+chocoblocko9@users.noreply.github.com>2026-04-28 18:08:14 +0100
committerGitHub <noreply@github.com>2026-04-28 18:08:14 +0100
commitab75bbfbecdfb4a0355106f740944c87cb9edd4c (patch)
treec20d6e2935392f194033aefd12f471624864bb65
parent97886cf0dab39ce4b7887e549b93ccec30156ddc (diff)
meta/stubs: update gesture hints to match new fields (#14195)
-rw-r--r--meta/generateLuaStubs.py5
-rw-r--r--meta/hl.meta.lua5
2 files changed, 6 insertions, 4 deletions
diff --git a/meta/generateLuaStubs.py b/meta/generateLuaStubs.py
index 9667f240..a523496d 100644
--- a/meta/generateLuaStubs.py
+++ b/meta/generateLuaStubs.py
@@ -578,8 +578,9 @@ def generate_stub(root: Path) -> str:
("action", "string", False),
("mods", "string", True),
("scale", "number", True),
- ("arg", "string", True),
- ("arg2", "string", True),
+ ("mode", "string", True),
+ ("zoom_level", "number", True),
+ ("workspace_name", "string", True),
("disable_inhibit", "boolean", True),
],
)
diff --git a/meta/hl.meta.lua b/meta/hl.meta.lua
index c00972fe..4e31d4a3 100644
--- a/meta/hl.meta.lua
+++ b/meta/hl.meta.lua
@@ -411,8 +411,9 @@ local __HL_TimerOptions = {}
---@field action string
---@field mods? string
---@field scale? number
----@field arg? string
----@field arg2? string
+---@field mode? string
+---@field zoom_level? number
+---@field workspace_name? string
---@field disable_inhibit? boolean
local __HL_GestureSpec = {}