blissd / fotema

Photo gallery for Linux
29 stars 6 forks source link

Fix hamburger menu not showing in mobile view #50

Closed blissd closed 1 month ago

blissd commented 1 month ago

The "is active" signal was being used to determine the initial width of the window so all components could be configured with the correct wide/narrow layout. However, this signal triggered all the time, and processing the message for it would cause the hamburger menu to collapse when in the mobile view.

Instead, just send a single message at startup to configure the width.