Added textAlpha and textActiveAlpha to Button and ButtonGroup.

This commit is contained in:
2019-10-15 14:56:24 +02:00
parent e50ea6af31
commit e2ea89cc0b
73 changed files with 440 additions and 161 deletions
+3 -1
View File
@@ -317,7 +317,9 @@ const button26 = new Button({
strokeActive: 0x28a745,
textStyleActive: {
fill: 0x28a745
}
},
textAlpha: .2,
textActiveAlpha: .6
})
app.scene.addChild(button1, button2, button3, button4, button5, button6)