aboutsummaryrefslogtreecommitdiff
path: root/mwe/events/src/uiObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/events/src/uiObject.cpp')
-rw-r--r--mwe/events/src/uiObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwe/events/src/uiObject.cpp b/mwe/events/src/uiObject.cpp
index ef4443f..31ff486 100644
--- a/mwe/events/src/uiObject.cpp
+++ b/mwe/events/src/uiObject.cpp
@@ -19,7 +19,7 @@ Text::Text(int width, int height)
}
TextInput::TextInput(int width, int height)
- : UIObject(width, height), textBuffer(""), placeholder(""), caretPosition(0),
+ : UIObject(width, height), textBuffer(""), placeholder(""),
isActive(false), textColor{255, 255, 255}, backgroundColor{0, 0, 0}, maxLength(100), font(nullptr) {
alignment.horizontal = Alignment::Horizontal::LEFT;
alignment.vertical = Alignment::Vertical::TOP;