mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 05:14:10 +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()
|
public void ResetWantX()
|
||||||
{
|
{
|
||||||
int line;
|
GetTextCoordAtCursor(var x, var y);
|
||||||
int col;
|
|
||||||
GetLineCharAtIdx(CursorTextPos, out line, out col);
|
|
||||||
|
|
||||||
float x;
|
|
||||||
float y;
|
|
||||||
GetTextCoordAtLineChar(line, col, out x, out y);
|
|
||||||
mCursorWantX = x;
|
mCursorWantX = x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue