mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
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:
@@ -137,7 +137,8 @@ private:
|
||||
|
||||
// --------------------------------------------------- : Events
|
||||
DECLARE_EVENT_TABLE();
|
||||
|
||||
|
||||
wxSize getBestSliceSize() const;
|
||||
wxSize DoGetBestSize() const override;
|
||||
|
||||
void onLeftDown(wxMouseEvent&);
|
||||
|
||||
Reference in New Issue
Block a user