From a937badc6f90c74f59fbe38b9177b8585a442939 Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Mon, 29 Sep 2025 08:35:51 +0300 Subject: [PATCH] Change cursor color for text box to make selection more visible --- src/DrawComponents/DrawTextBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DrawComponents/DrawTextBox.cpp b/src/DrawComponents/DrawTextBox.cpp index 7a8668d..74c9655 100644 --- a/src/DrawComponents/DrawTextBox.cpp +++ b/src/DrawComponents/DrawTextBox.cpp @@ -82,7 +82,7 @@ void DrawTextBox::draw(SkCanvas* canvas, const DrawData& drawData) { CollabTextBox::Editor::PaintOpts paintOpts; paintOpts.fForegroundColor = convert_vec4(d.textColor); paintOpts.fBackgroundColor = {0.0f, 0.0f, 0.0f, 0.0f}; - paintOpts.cursorColor = {0.2f, 0.2f, 0.7f, 1.0f}; + paintOpts.cursorColor = {0.6f, 0.6f, 1.0f, 1.0f}; paintOpts.showCursor = d.editing; paintOpts.cursor = d.cursor;