canvas API

This commit is contained in:
Face
2025-08-31 14:17:34 +03:00
parent 322cb4072e
commit f973bb55f6
16 changed files with 3387 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
uid://cyngvqm6wghoh

View File

@@ -645,6 +645,9 @@ static func add_element_methods(vm: LuauVM, lua_api: LuaAPI) -> void:
vm.lua_pushcallable(LuaDOMUtils._element_unfocus_wrapper, "element.unfocus")
vm.lua_setfield(-2, "unfocus")
vm.lua_pushcallable(LuaCanvasUtils._element_withContext_wrapper, "element.withContext")
vm.lua_setfield(-2, "withContext")
add_classlist_support(vm)
vm.lua_newtable()