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:
parent
fb421ca9d0
commit
ec3eb0b134
1 changed files with 2 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue