TextDocumentView: Don't blink cursor when not in focus.
This commit is contained in:
@@ -435,6 +435,9 @@ TextDocumentView::_UpdateScrollBars()
|
|||||||
void
|
void
|
||||||
TextDocumentView::_DrawCaret(int32 textOffset)
|
TextDocumentView::_DrawCaret(int32 textOffset)
|
||||||
{
|
{
|
||||||
|
if (!IsFocus() || Window() == NULL || !Window()->IsActive())
|
||||||
|
return;
|
||||||
|
|
||||||
float x1;
|
float x1;
|
||||||
float y1;
|
float y1;
|
||||||
float x2;
|
float x2;
|
||||||
|
|||||||
Reference in New Issue
Block a user