diff --git a/lib/pixi/buttongroup.js b/lib/pixi/buttongroup.js index f312e4a..6ec72ad 100644 --- a/lib/pixi/buttongroup.js +++ b/lib/pixi/buttongroup.js @@ -514,7 +514,7 @@ export default class ButtonGroup extends PIXI.Container { // stack! const distanceToTop = this.container.y const distanceToBottom = this.opts.maxHeight - this.container.y - this.__initHeight - + if (distanceToTop > 0) { throwProps.y.end = 0 } else if (distanceToBottom > 0) {