mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
make the caret draw on linux - fix for 13487
This commit is contained in:
parent
3e559186f3
commit
64ab461658
@ -571,6 +571,7 @@ void nsCaret::DrawCaretWithContext(nsIRenderingContext& inRendContext)
|
||||
inRendContext.SetColor(NS_RGB(85, 85, 85)); // we are drawing it; gray
|
||||
*/
|
||||
|
||||
inRendContext.SetColor(NS_RGB(255,255,255));
|
||||
inRendContext.InvertRect(mCaretRect);
|
||||
}
|
||||
|
||||
|
@ -571,6 +571,7 @@ void nsCaret::DrawCaretWithContext(nsIRenderingContext& inRendContext)
|
||||
inRendContext.SetColor(NS_RGB(85, 85, 85)); // we are drawing it; gray
|
||||
*/
|
||||
|
||||
inRendContext.SetColor(NS_RGB(255,255,255));
|
||||
inRendContext.InvertRect(mCaretRect);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user