Skip to content

Commit

Permalink
fix resizing to previous size if width or height did not change (Part…
Browse files Browse the repository at this point in the history
… III)
  • Loading branch information
scheffle committed Sep 6, 2024
1 parent a188933 commit 17c2a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vstgui/plugin-bindings/vst3editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1945,7 +1945,7 @@ bool VST3Editor::enableEditing (bool state)
CCoord width = view->getWidth () * scaleFactor;
CCoord height = view->getHeight () * scaleFactor;

if (canResize () == Steinberg::kResultTrue)
if (canResize () == Steinberg::kResultTrue && nonEditRect.isEmpty ())
{
Steinberg::ViewRect tmp;
if (getRect ().getWidth () != width)
Expand Down

0 comments on commit 17c2a7a

Please sign in to comment.