Skip to content

Commit

Permalink
Update expression_field.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Ozero4 authored Mar 18, 2024
1 parent 46f7eb5 commit 35799f9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions escher/include/escher/expression_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ class ExpressionField : public Responder, public View {
bool handleEvent(Ion::Events::Event event) override;
void didBecomeFirstResponder() override;

protected:
TextField m_textField;
LayoutField m_layoutField;

private:
static constexpr int k_textFieldBufferSize = TextField::maxBufferSize();
static constexpr KDCoordinate k_minimalHeight = 37;
Expand All @@ -49,8 +53,6 @@ class ExpressionField : public Responder, public View {
constexpr static KDCoordinate k_separatorThickness = Metric::CellSeparatorThickness;
KDCoordinate inputViewHeight() const;
KDCoordinate m_inputViewMemoizedHeight;
TextField m_textField;
LayoutField m_layoutField;
};

#endif

0 comments on commit 35799f9

Please sign in to comment.