Repository navigation
A patch release with three fixes found while checking the published 2.4.0 package. None of them is new in 2.4.0.
Fixes
- The UMD bundle loads from script tags again. It expected
tweedle.jsas the globalTweedle, but tweedle.js's own UMD build registerstweedle_js, so loading the scripts in order failed withTweedle is not definedandPIXI.uistayed undefined. It now usestweedle_js:If you added the<script src="https://cdn.jsdelivr.net/npm/pixi.js@8/dist/pixi.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/tweedle.js@2/dist/tweedle.umd.js"></script> <script src="https://cdn.jsdelivr.net/npm/@pixi/ui@2.4.1/dist/pixi-ui.js"></script>
window.Tweedle = window.tweedle_jsworkaround from the 2.4.0 notes, it keeps working and can be removed. - Type declarations no longer need
@types/node.ScrollBoxexposed aNodeJS.Timeoutfield, so browser projects without@types/nodeand withskipLibCheckoff failed to type-check on@pixi/ui's own declarations. - API docs:
Input's internal layers are no longer listed as separate classes; their members are documented onInput.
What's Changed
- fix: UMD bundle loads tweedle.js by its real global, ScrollBox types need no Node, docs hide Input's internal layers by @CyberDex in #285
Full Changelog: v2.4.0...v2.4.1