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

@ -82,7 +82,7 @@ void DrawTextBox::draw(SkCanvas* canvas, const DrawData& drawData) {
CollabTextBox::Editor::PaintOpts paintOpts;
paintOpts.fForegroundColor = convert_vec4<SkColor4f>(d.textColor);
paintOpts.fBackgroundColor = {0.0f, 0.0f, 0.0f, 0.0f};
paintOpts.cursorColor = {0.6f, 0.6f, 1.0f, 1.0f};
paintOpts.cursorColor = {0.7f, 0.7f, 1.0f, 1.0f};
paintOpts.showCursor = d.editing;
paintOpts.cursor = d.cursor;