Change cursor color for text box to make selection more visible
This commit is contained in:
parent
5d87108b3d
commit
a937badc6f
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ void DrawTextBox::draw(SkCanvas* canvas, const DrawData& drawData) {
|
||||||
CollabTextBox::Editor::PaintOpts paintOpts;
|
CollabTextBox::Editor::PaintOpts paintOpts;
|
||||||
paintOpts.fForegroundColor = convert_vec4<SkColor4f>(d.textColor);
|
paintOpts.fForegroundColor = convert_vec4<SkColor4f>(d.textColor);
|
||||||
paintOpts.fBackgroundColor = {0.0f, 0.0f, 0.0f, 0.0f};
|
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.showCursor = d.editing;
|
||||||
paintOpts.cursor = d.cursor;
|
paintOpts.cursor = d.cursor;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue