fix drawing artefacts when the caret is being clipped, which lead

to parts of the caret being inverted:
* instead of always inverting the caret rect, we now invalidate when the
  caret should be hidden



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36153 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-04-11 14:13:57 +00:00
parent 2365cde279
commit 575625f155
2 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -336,7 +336,7 @@ private:
void _RequestDrawLines(int32 startLine,
int32 endLine);
void _DrawCaret(int32 offset);
void _DrawCaret(int32 offset, bool visible);
void _ShowCaret();
void _HideCaret();
void _InvertCaret();