Tech ENABLE_SCROLLABLE_LEGEND set as default

This commit is contained in:
enricoturri1966 2021-07-22 12:18:38 +02:00
parent 2dd7091cc3
commit d5ad47d0ca
5 changed files with 0 additions and 47 deletions

View file

@ -427,9 +427,7 @@ private:
Model* m_model;
BackgroundSlicingProcess *m_process;
#if ENABLE_SCROLLABLE_LEGEND
std::array<unsigned int, 2> m_old_size{ 0, 0 };
#endif // ENABLE_SCROLLABLE_LEGEND
// Screen is only refreshed from the OnIdle handler if it is dirty.
bool m_dirty;
@ -787,9 +785,7 @@ public:
const Print* fff_print() const;
const SLAPrint* sla_print() const;
#if ENABLE_SCROLLABLE_LEGEND
void reset_old_size() { m_old_size = { 0, 0 }; }
#endif // ENABLE_SCROLLABLE_LEGEND
private:
bool _is_shown_on_screen() const;