fix: correct computed sizes on slice window to properly display margins

The display size of the Output image was being computed using the available element size, which included margins and was leading to the bottom couple pixels being clipped. Correcting that to properly account for the actual image size.
This commit is contained in:
Brendan Hagan
2022-07-15 08:31:44 -04:00
parent 07c7ca464a
commit fabb6cc3f1
2 changed files with 13 additions and 7 deletions
+2 -1
View File
@@ -137,7 +137,8 @@ private:
// --------------------------------------------------- : Events
DECLARE_EVENT_TABLE();
wxSize getBestSliceSize() const;
wxSize DoGetBestSize() const override;
void onLeftDown(wxMouseEvent&);