[studio] Remove Editor::requiresConstantRefresh

This commit is contained in:
Gary Talent 2024-10-01 22:34:58 -05:00
parent c6efabaa1d
commit e22b25e54c
2 changed files with 0 additions and 8 deletions

View File

@ -23,7 +23,6 @@ class BaseEditor: public Widget {
bool m_cutEnabled = false; bool m_cutEnabled = false;
bool m_copyEnabled = false; bool m_copyEnabled = false;
bool m_pasteEnabled = false; bool m_pasteEnabled = false;
bool m_requiresConstantRefresh = false;
public: public:
~BaseEditor() override = default; ~BaseEditor() override = default;
@ -52,9 +51,6 @@ class BaseEditor: public Widget {
virtual void onActivated() noexcept; virtual void onActivated() noexcept;
[[nodiscard]]
bool requiresConstantRefresh() const noexcept;
void close() const; void close() const;
/** /**

View File

@ -36,10 +36,6 @@ void BaseEditor::keyStateChanged(turbine::Key, bool) {
void BaseEditor::onActivated() noexcept { void BaseEditor::onActivated() noexcept {
} }
bool BaseEditor::requiresConstantRefresh() const noexcept {
return m_requiresConstantRefresh;
}
void BaseEditor::close() const { void BaseEditor::close() const {
this->closed.emit(itemPath()); this->closed.emit(itemPath());
} }