TextDocumentView: Don't blink cursor when not in focus.

This commit is contained in:
Stephan Aßmus
2014-01-21 23:01:56 +01:00
parent 8e7d9c7245
commit 0cd95bf315
@@ -435,6 +435,9 @@ TextDocumentView::_UpdateScrollBars()
void
TextDocumentView::_DrawCaret(int32 textOffset)
{
if (!IsFocus() || Window() == NULL || !Window()->IsActive())
return;
float x1;
float y1;
float x2;