Change textbox cursor for textbox GUI element to make it more visible
This commit is contained in:
parent
a937badc6f
commit
3f7f2347d0
4 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue