Change cursor color for text box to make selection more visible

This commit is contained in:
Yousef Khadadeh 2025-09-29 08:35:51 +03:00
parent 5d87108b3d
commit a937badc6f

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.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;