1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-12 05:14:10 +02:00

Improved GetCursorLineChar

This commit is contained in:
Brian Fiete 2020-04-07 08:30:11 -07:00
parent a5e0f34549
commit e12c03d46e

View file

@ -1895,7 +1895,7 @@ namespace Beefy.widgets
public bool GetCursorLineChar(out int line, out int lineChar) public bool GetCursorLineChar(out int line, out int lineChar)
{ {
if (mCursorTextPos != -1) if (mVirtualCursorPos == null)
{ {
GetLineCharAtIdx_Fast(mCursorTextPos, true, out line, out lineChar); GetLineCharAtIdx_Fast(mCursorTextPos, true, out line, out lineChar);
return true; return true;