Tech ENABLE_PREVIEW_LAYOUT - Other fixes related to legend size when moving the application to another monitor

This commit is contained in:
enricoturri1966 2021-10-05 14:13:35 +02:00
parent 09150780c9
commit cd05e8f6cb
2 changed files with 10 additions and 14 deletions
src/slic3r/GUI

View file

@ -822,12 +822,7 @@ private:
struct LegendResizer
{
bool dirty{ true };
float last_width{ 0.0f };
void reset() {
dirty = true;
last_width = 0.0f;
}
void reset() { dirty = true; }
};
LegendResizer m_legend_resizer;
#endif // ENABLE_PREVIEW_LAYOUT