Rebuild the menu overflow on width changes
authorAlexander Ebert <ebert@woltlab.com>
Thu, 16 Nov 2023 16:00:55 +0000 (17:00 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 16 Nov 2023 16:00:55 +0000 (17:00 +0100)
commite8f522443f71e8869fb29cab64d5a86694cbfe05
treec971ecfd6d5666c3ecc7da28d62cde1fb0378944
parentacddd4ad30dfbb44810afe9ef1f7012b76c98301
Rebuild the menu overflow on width changes

Recalculating this on window resize is possibly unnecessary plus it does not detect changes to the menu’s available width while the window stays the same.

See https://www.woltlab.com/community/thread/302316-men%C3%BCpfeile-bei-zu-vielen-men%C3%BCpunkten-nicht-vorhanden/
ts/WoltLabSuite/Core/Ui/Page/Header/Menu.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Header/Menu.js