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

Fixed issue with cursor going to start of line

This commit is contained in:
Brian Fiete 2020-06-30 05:37:16 -07:00
parent fb421ca9d0
commit ec3eb0b134

View file

@ -3328,14 +3328,8 @@ namespace Beefy.widgets
}
public void ResetWantX()
{
int line;
int col;
GetLineCharAtIdx(CursorTextPos, out line, out col);
float x;
float y;
GetTextCoordAtLineChar(line, col, out x, out y);
{
GetTextCoordAtCursor(var x, var y);
mCursorWantX = x;
}