Fixed positioning bug in button.
This commit is contained in:
@@ -1882,8 +1882,8 @@ export default class Button extends PIXI.Container {
|
||||
//--------------------
|
||||
if (this.badge) {
|
||||
this.removeChild(this.badge)
|
||||
const width = this.width
|
||||
const height = this.height
|
||||
const width = this._width
|
||||
const height = this._height
|
||||
this.addChild(this.badge)
|
||||
|
||||
const badge = this.badge
|
||||
@@ -2171,7 +2171,7 @@ export default class Button extends PIXI.Container {
|
||||
|
||||
<footer class="content-size">
|
||||
<div class="footer">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 08 2019 13:45:13 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 08 2019 14:32:42 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user