mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Use type functions for vide.create
This commit is contained in:
parent
c16022586e
commit
d7d2f5167e
2 changed files with 87 additions and 73 deletions
|
|
@ -46,7 +46,7 @@ end
|
|||
|
||||
local vide = require "../src/"
|
||||
local count = vide.source(0)
|
||||
create("TextButton") {
|
||||
create("TextButton") { -- todo: why is `:: "TextButton"` not necessary?
|
||||
BackgroundTransparency = 1,
|
||||
AnchorPoint = "bad value", -- should error
|
||||
InvalidProperty = true, -- should error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue