mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
we can now pass arbitrary zig data to lua through hooks
This commit is contained in:
parent
91578d583a
commit
0bb1ba2963
3 changed files with 6 additions and 12 deletions
|
|
@ -59,8 +59,7 @@ end
|
|||
-- })
|
||||
|
||||
mez.hook.add("ViewMapPre", {
|
||||
callback = function(a)
|
||||
print(a)
|
||||
print("hello world")
|
||||
callback = function(v)
|
||||
mez.view.set_size(v, 1000, 1000)
|
||||
end
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue