Fixed GUI textbox moving cursor on layout
This commit is contained in:
parent
550c31f088
commit
7286f01035
4 changed files with 11 additions and 7 deletions
|
|
@ -52,6 +52,7 @@ template <typename T> class TextBox : public Element {
|
|||
bool update_data();
|
||||
bool is_selected() const;
|
||||
|
||||
bool isHeld = false;
|
||||
std::optional<TextEditData> edit;
|
||||
|
||||
std::optional<T> oldData;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue