Change textbox cursor for textbox GUI element to make it more visible

This commit is contained in:
Yousef Khadadeh 2025-09-29 09:42:53 +03:00
parent a937badc6f
commit 3f7f2347d0
4 changed files with 5 additions and 3 deletions

View file

@ -159,7 +159,7 @@ template <typename T> class TextBox : public Element {
CollabTextBox::Editor::PaintOpts paintOpts;
paintOpts.fForegroundColor = io.theme->frontColor1;
paintOpts.fBackgroundColor = {0.0f, 0.0f, 0.0f, 0.0f};
paintOpts.cursorColor = io.theme->fillColor1;
paintOpts.cursorColor = io.theme->fillColor5;
paintOpts.showCursor = selection.selected;
paintOpts.cursor = cur;