diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-30 22:05:41 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-30 22:05:41 +0200 |
commit | 9602603135f456d906192112288dcd84429c8fee (patch) | |
tree | 6a6dafff82f3e38b8e18b74f474ef61965917339 /src/Text.cpp | |
parent | e1a8d10b61c5f8ca092ba3aa458b661da29ba447 (diff) |
Matrix: implement message editing
Diffstat (limited to 'src/Text.cpp')
-rw-r--r-- | src/Text.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text.cpp b/src/Text.cpp index 5e0ad87..fb1373c 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -164,6 +164,10 @@ namespace QuickMedia return editable; } + void Text::moveCaretToEnd() { + caretIndex = vertices_linear.size(); + } + float Text::getWidth() const { return boundingBox.width; |