mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
97b81a7eb6
The object was never re-assigned, so closing a smaller menu (e.g., Calibre metadata search) made the underlying one (e.g., CoverBrowser's ListMenu) inherit the smaller dimensions... Instead of creating the object in the Class constructor, create it in the instance constructor (i.e., :init). Similar cleanups in other Menu* related classes.