Fixed bug with stacked buttons in a button group with badges.
This commit is contained in:
		
							parent
							
								
									e9f1246e0a
								
							
						
					
					
						commit
						b1f0f173e7
					
				
							
								
								
									
										12
									
								
								dist/iwmlib.pixi.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								dist/iwmlib.pixi.js
									
									
									
									
										vendored
									
									
								
							@ -3477,7 +3477,7 @@
 | 
			
		||||
 | 
			
		||||
            this.buttons.forEach((it, index) => {
 | 
			
		||||
                const leftCorner = it.__originalPosition.x + this.container.x;
 | 
			
		||||
                const rightCorner = it.__originalPosition.x + it.width;
 | 
			
		||||
                const rightCorner = it.__originalPosition.x + it.button.width;
 | 
			
		||||
                const paddingLeft = index * this.opts.stackPadding;
 | 
			
		||||
                const paddingRight = reverseCounter * this.opts.stackPadding;
 | 
			
		||||
                if (leftCorner < paddingLeft) {
 | 
			
		||||
@ -3485,7 +3485,7 @@
 | 
			
		||||
                    it.x = -this.container.x + paddingLeft;
 | 
			
		||||
                } else if (rightCorner > -this.container.x + this.opts.maxWidth - paddingRight) {
 | 
			
		||||
                    // right border
 | 
			
		||||
                    it.x = -this.container.x + this.opts.maxWidth - it.width - paddingRight;
 | 
			
		||||
                    it.x = -this.container.x + this.opts.maxWidth - it.button.width - paddingRight;
 | 
			
		||||
                } else {
 | 
			
		||||
                    it.x = it.__originalPosition.x;
 | 
			
		||||
                }
 | 
			
		||||
@ -3496,7 +3496,7 @@
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
            const min = Math.min(...sorted.map(it => it.x));
 | 
			
		||||
            const max = Math.max(...sorted.map(it => it.x));
 | 
			
		||||
            const max = Math.max(...sorted.map(it => it.x + it.button.width));
 | 
			
		||||
            const center = (min + max) / 2;
 | 
			
		||||
 | 
			
		||||
            // z-index
 | 
			
		||||
@ -3525,7 +3525,7 @@
 | 
			
		||||
 | 
			
		||||
            this.buttons.forEach((it, index) => {
 | 
			
		||||
                const topCorner = it.__originalPosition.y + this.container.y;
 | 
			
		||||
                const bottomCorner = it.__originalPosition.y + it.height;
 | 
			
		||||
                const bottomCorner = it.__originalPosition.y + it.button.height;
 | 
			
		||||
                const paddingTop = index * this.opts.stackPadding;
 | 
			
		||||
                const paddingBottom = reverseCounter * this.opts.stackPadding;
 | 
			
		||||
                if (topCorner < paddingTop) {
 | 
			
		||||
@ -3533,7 +3533,7 @@
 | 
			
		||||
                    it.y = -this.container.y + paddingTop;
 | 
			
		||||
                } else if (bottomCorner > -this.container.y + this.opts.maxHeight - paddingBottom) {
 | 
			
		||||
                    // bottom border
 | 
			
		||||
                    it.y = -this.container.y + this.opts.maxHeight - it.height - paddingBottom;
 | 
			
		||||
                    it.y = -this.container.y + this.opts.maxHeight - it.button.height - paddingBottom;
 | 
			
		||||
                } else {
 | 
			
		||||
                    it.y = it.__originalPosition.y;
 | 
			
		||||
                }
 | 
			
		||||
@ -3544,7 +3544,7 @@
 | 
			
		||||
            });
 | 
			
		||||
 | 
			
		||||
            const min = Math.min(...sorted.map(it => it.y));
 | 
			
		||||
            const max = Math.max(...sorted.map(it => it.y));
 | 
			
		||||
            const max = Math.max(...sorted.map(it => it.y + it.button.height));
 | 
			
		||||
            const center = (min + max) / 2;
 | 
			
		||||
 | 
			
		||||
            // z-index
 | 
			
		||||
 | 
			
		||||
@ -2920,7 +2920,7 @@ a string, a number or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2376,7 +2376,7 @@ a string, a number or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1800,7 +1800,7 @@ app.scene.filters = [blurFilter]</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -3818,7 +3818,7 @@ the tint property of the icon sprite.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -3692,7 +3692,7 @@ app.scene.addChild(buttonGroup)</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -5098,7 +5098,7 @@ i.e. after loading a single tile</p></td>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2611,7 +2611,7 @@ on completion.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2514,7 +2514,7 @@ front.on('click', event => flippable.toggle())</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1561,7 +1561,7 @@
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1763,7 +1763,7 @@
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2345,7 +2345,7 @@ a string, a number or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1563,7 +1563,7 @@
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2628,7 +2628,7 @@ than wanted</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2587,7 +2587,7 @@ app.scene.addChild(list)</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2443,7 +2443,7 @@ a string, a number or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2344,7 +2344,7 @@ a string or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -5745,7 +5745,7 @@ rejected with an error.</td>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2338,7 +2338,7 @@ a string, a number or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2392,7 +2392,7 @@ a string, a number or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1791,7 +1791,7 @@ like Popup, Message...</p></div>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2877,7 +2877,7 @@ app.scene.addChild(progress)</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1709,7 +1709,7 @@ app.loader
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2968,7 +2968,7 @@ app.scene.addChild(slider)</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -3398,7 +3398,7 @@ app.scene.addChild(switch1)</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1692,7 +1692,7 @@
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -3167,7 +3167,7 @@ const app = new PIXIApp({
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1588,7 +1588,7 @@ const app = new PIXIApp({
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1600,7 +1600,7 @@ const app = new PIXIApp({
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1600,7 +1600,7 @@ const app = new PIXIApp({
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2052,7 +2052,7 @@ an indicator of tiles to free.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2514,7 +2514,7 @@ a string, a number or a PIXI.Text object.</p>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -4185,7 +4185,7 @@ test.start()</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2101,7 +2101,7 @@ app.scene.addChild(button)</code></pre>
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -3322,7 +3322,7 @@
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1487,7 +1487,7 @@
 | 
			
		||||
 | 
			
		||||
        <footer class="content-size">
 | 
			
		||||
            <div class="footer">
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1810,7 +1810,7 @@ export default class AbstractPopup extends PIXI.Graphics {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2191,7 +2191,7 @@ class FpsDisplay extends PIXI.Graphics {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1571,7 +1571,7 @@ export default class Badge extends AbstractPopup {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1729,7 +1729,7 @@ class TiltShiftYFilter extends TiltShiftAxisFilter {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2153,7 +2153,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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2004,7 +2004,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
 | 
			
		||||
        this.buttons.forEach((it, index) => {
 | 
			
		||||
            const leftCorner = it.__originalPosition.x + this.container.x
 | 
			
		||||
            const rightCorner = it.__originalPosition.x + it.width
 | 
			
		||||
            const rightCorner = it.__originalPosition.x + it.button.width
 | 
			
		||||
            const paddingLeft = index * this.opts.stackPadding
 | 
			
		||||
            const paddingRight = reverseCounter * this.opts.stackPadding
 | 
			
		||||
            if (leftCorner < paddingLeft) {
 | 
			
		||||
@ -2012,7 +2012,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
                it.x = -this.container.x + paddingLeft
 | 
			
		||||
            } else if (rightCorner > -this.container.x + this.opts.maxWidth - paddingRight) {
 | 
			
		||||
                // right border
 | 
			
		||||
                it.x = -this.container.x + this.opts.maxWidth - it.width - paddingRight
 | 
			
		||||
                it.x = -this.container.x + this.opts.maxWidth - it.button.width - paddingRight
 | 
			
		||||
            } else {
 | 
			
		||||
                it.x = it.__originalPosition.x
 | 
			
		||||
            }
 | 
			
		||||
@ -2023,7 +2023,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
        const min = Math.min(...sorted.map(it => it.x))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.x))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.x + it.button.width))
 | 
			
		||||
        const center = (min + max) / 2
 | 
			
		||||
 | 
			
		||||
        // z-index
 | 
			
		||||
@ -2052,7 +2052,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
 | 
			
		||||
        this.buttons.forEach((it, index) => {
 | 
			
		||||
            const topCorner = it.__originalPosition.y + this.container.y
 | 
			
		||||
            const bottomCorner = it.__originalPosition.y + it.height
 | 
			
		||||
            const bottomCorner = it.__originalPosition.y + it.button.height
 | 
			
		||||
            const paddingTop = index * this.opts.stackPadding
 | 
			
		||||
            const paddingBottom = reverseCounter * this.opts.stackPadding
 | 
			
		||||
            if (topCorner < paddingTop) {
 | 
			
		||||
@ -2060,7 +2060,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
                it.y = -this.container.y + paddingTop
 | 
			
		||||
            } else if (bottomCorner > -this.container.y + this.opts.maxHeight - paddingBottom) {
 | 
			
		||||
                // bottom border
 | 
			
		||||
                it.y = -this.container.y + this.opts.maxHeight - it.height - paddingBottom
 | 
			
		||||
                it.y = -this.container.y + this.opts.maxHeight - it.button.height - paddingBottom
 | 
			
		||||
            } else {
 | 
			
		||||
                it.y = it.__originalPosition.y
 | 
			
		||||
            }
 | 
			
		||||
@ -2071,7 +2071,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
        const min = Math.min(...sorted.map(it => it.y))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.y))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.y + it.button.height))
 | 
			
		||||
        const center = (min + max) / 2
 | 
			
		||||
 | 
			
		||||
        // z-index
 | 
			
		||||
@ -2103,7 +2103,7 @@ export default class ButtonGroup 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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2553,7 +2553,7 @@ export class DeepZoomImage 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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1908,7 +1908,7 @@ export default class Flippable extends PIXI.projection.Camera3d {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1857,7 +1857,7 @@ export class BitmapLabeledGraphics extends LabeledGraphics {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1836,7 +1836,7 @@ export default class List 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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1585,7 +1585,7 @@ export default class Message extends InteractivePopup {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1666,7 +1666,7 @@ export default class Modal 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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1676,7 +1676,7 @@ export default class Popup extends InteractivePopup {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1579,7 +1579,7 @@ export default class PopupMenu extends Popup {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1761,7 +1761,7 @@ export default class Progress 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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1520,7 +1520,7 @@ export default class Scrollview extends Scrollbox {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1925,7 +1925,7 @@ export default class Slider 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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1979,7 +1979,7 @@ export default class Switch 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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1720,7 +1720,7 @@ export class ThemeRed extends Theme {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1613,7 +1613,7 @@ export default class Tooltip extends AbstractPopup {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -1617,7 +1617,7 @@ export default class Volatile {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -2468,7 +2468,7 @@ class Event {
 | 
			
		||||
 | 
			
		||||
        <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 01 2019 10:17:52 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
                Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Aug 01 2019 10:30:39 GMT+0200 (Mitteleuropäische Sommerzeit)
 | 
			
		||||
            </div>
 | 
			
		||||
        </footer>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@
 | 
			
		||||
 | 
			
		||||
    <script src="../3rdparty/highlight/highlight.pack.js"></script>
 | 
			
		||||
    <script src="../../dist/iwmlib.3rdparty.js"></script>
 | 
			
		||||
    <!-- <script src="../3rdparty/gsap/src/uncompressed/plugins/ThrowPropsPlugin.js"></script> -->
 | 
			
		||||
    <script src="../3rdparty/gsap/src/uncompressed/plugins/ThrowPropsPlugin.js"></script>
 | 
			
		||||
 | 
			
		||||
    <script src="../../dist/iwmlib.js"></script>
 | 
			
		||||
    <script src="../../dist/iwmlib.pixi.js"></script>
 | 
			
		||||
 | 
			
		||||
@ -556,7 +556,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
 | 
			
		||||
        this.buttons.forEach((it, index) => {
 | 
			
		||||
            const leftCorner = it.__originalPosition.x + this.container.x
 | 
			
		||||
            const rightCorner = it.__originalPosition.x + it.width
 | 
			
		||||
            const rightCorner = it.__originalPosition.x + it.button.width
 | 
			
		||||
            const paddingLeft = index * this.opts.stackPadding
 | 
			
		||||
            const paddingRight = reverseCounter * this.opts.stackPadding
 | 
			
		||||
            if (leftCorner < paddingLeft) {
 | 
			
		||||
@ -564,7 +564,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
                it.x = -this.container.x + paddingLeft
 | 
			
		||||
            } else if (rightCorner > -this.container.x + this.opts.maxWidth - paddingRight) {
 | 
			
		||||
                // right border
 | 
			
		||||
                it.x = -this.container.x + this.opts.maxWidth - it.width - paddingRight
 | 
			
		||||
                it.x = -this.container.x + this.opts.maxWidth - it.button.width - paddingRight
 | 
			
		||||
            } else {
 | 
			
		||||
                it.x = it.__originalPosition.x
 | 
			
		||||
            }
 | 
			
		||||
@ -575,7 +575,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
        const min = Math.min(...sorted.map(it => it.x))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.x))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.x + it.button.width))
 | 
			
		||||
        const center = (min + max) / 2
 | 
			
		||||
 | 
			
		||||
        // z-index
 | 
			
		||||
@ -604,7 +604,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
 | 
			
		||||
        this.buttons.forEach((it, index) => {
 | 
			
		||||
            const topCorner = it.__originalPosition.y + this.container.y
 | 
			
		||||
            const bottomCorner = it.__originalPosition.y + it.height
 | 
			
		||||
            const bottomCorner = it.__originalPosition.y + it.button.height
 | 
			
		||||
            const paddingTop = index * this.opts.stackPadding
 | 
			
		||||
            const paddingBottom = reverseCounter * this.opts.stackPadding
 | 
			
		||||
            if (topCorner < paddingTop) {
 | 
			
		||||
@ -612,7 +612,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
                it.y = -this.container.y + paddingTop
 | 
			
		||||
            } else if (bottomCorner > -this.container.y + this.opts.maxHeight - paddingBottom) {
 | 
			
		||||
                // bottom border
 | 
			
		||||
                it.y = -this.container.y + this.opts.maxHeight - it.height - paddingBottom
 | 
			
		||||
                it.y = -this.container.y + this.opts.maxHeight - it.button.height - paddingBottom
 | 
			
		||||
            } else {
 | 
			
		||||
                it.y = it.__originalPosition.y
 | 
			
		||||
            }
 | 
			
		||||
@ -623,7 +623,7 @@ export default class ButtonGroup extends PIXI.Container {
 | 
			
		||||
        })
 | 
			
		||||
 | 
			
		||||
        const min = Math.min(...sorted.map(it => it.y))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.y))
 | 
			
		||||
        const max = Math.max(...sorted.map(it => it.y + it.button.height))
 | 
			
		||||
        const center = (min + max) / 2
 | 
			
		||||
 | 
			
		||||
        // z-index
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user