1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-28 10:45:50 +00:00

Fixed restoring of application starting position

This commit is contained in:
enricoturri1966
2020-06-11 16:07:28 +02:00
parent 13a2e8e64d
commit a1319cc8f7
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -341,7 +341,7 @@ public:
static WindowMetrics from_window(wxTopLevelWindow *window);
static boost::optional<WindowMetrics> deserialize(const std::string &str);
wxRect get_rect() const { return rect; }
const wxRect& get_rect() const { return rect; }
bool get_maximized() const { return maximized; }
void sanitize_for_display(const wxRect &screen_rect);