Working on stacked buttons.
This commit is contained in:
@@ -74,10 +74,7 @@ export default class PopupMenu extends Popup {
|
||||
let object = null
|
||||
|
||||
if (item.label) {
|
||||
object = new PIXI.Text(
|
||||
item.label,
|
||||
item.textStyle || this.opts.textStyle
|
||||
)
|
||||
object = new PIXI.Text(item.label, item.textStyle || this.opts.textStyle)
|
||||
} else {
|
||||
object = item.content
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user