Added textAlpha and textActiveAlpha to Button and ButtonGroup.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user