diff options
author | Aylur <[email protected]> | 2024-06-16 02:09:03 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-06-16 02:09:03 +0200 |
commit | 49f0ffcd5df6f15e195ece8f3a9a33ef873638ae (patch) | |
tree | fc1c5ce23c5dac2c003ccb47c958a680c0273d6d /lua/astal | |
parent | a4229d6db2896a9e600ec7110c0370d50f2fb73c (diff) |
fix(Variable): pass emitting object on observe
Diffstat (limited to 'lua/astal')
-rw-r--r-- | lua/astal/variable.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/astal/variable.lua b/lua/astal/variable.lua index 75f7d1e..c7c2ec9 100644 --- a/lua/astal/variable.lua +++ b/lua/astal/variable.lua @@ -208,7 +208,7 @@ function Variable:observe(object, sigOrFn, callback) return self:get() end end - local set = function(_, ...) + local set = function(...) self:set(f(...)) end |