nothing
This commit is contained in:
parent
a3c734862a
commit
718d801a33
10 changed files with 1274 additions and 58 deletions
18
test/app.ts
18
test/app.ts
|
|
@ -1,11 +1,11 @@
|
|||
import { Label, Modify, Panel } from ".."
|
||||
import { Anchor, Label, Modify } from ".."
|
||||
|
||||
const panel = Panel()
|
||||
const label = Label({
|
||||
text: "Hello World!",
|
||||
anchor: Anchor.TOP_MIDDLE,
|
||||
offset: [0, 5],
|
||||
layer: 50,
|
||||
shadow: true,
|
||||
})
|
||||
|
||||
panel.addChild(
|
||||
Label({
|
||||
text: "Hello World",
|
||||
}),
|
||||
)
|
||||
|
||||
Modify("start", "start_screen_content").insertChild(panel).addBindings({})
|
||||
Modify("start", "start_screen_content").insertChild(label)
|
||||
|
|
|
|||
Reference in a new issue