diff --git a/src/app/ModuleBrowser.cpp b/src/app/ModuleBrowser.cpp index c972c213..b0df3063 100644 --- a/src/app/ModuleBrowser.cpp +++ b/src/app/ModuleBrowser.cpp @@ -24,7 +24,6 @@ #include #include #include -#include #include #include @@ -149,6 +148,7 @@ struct ModelBox : widget::OpaqueWidget { // Approximate size as 10HP before we know the actual size. // We need a nonzero size, otherwise the parent widget will consider it not in the draw bounds, so its preview will not be lazily created. updateZoomLevel(); + previousZoomValue = settings::moduleBrowserZoom; } void updateZoomLevel() {