Skip to content

Commit

Permalink
Fix gui_request_resize incorrectly checking can_resize (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthierman authored Aug 17, 2024
1 parent 713d3b3 commit 3445292
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/clap_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,7 @@ class Plugin
}
bool request_resize(uint32_t width, uint32_t height)
{
if (_parentHost->gui_can_resize())
{
_parentHost->gui_request_resize(width, height);
return true;
}
return false;
return _parentHost->gui_request_resize(width, height);
}
bool request_show()
{
Expand Down

0 comments on commit 3445292

Please sign in to comment.