Fixed positioning bug in button.

This commit is contained in:
2019-08-08 14:32:55 +02:00
parent f5cf8115af
commit d48139c40f
69 changed files with 90 additions and 83 deletions
+1 -1
View File
@@ -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) {