refactor(tracker): remove SetCursorFloat method from TableData

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-20 15:17:21 +03:00
parent 430b01d143
commit 840fe3ef0e
2 changed files with 3 additions and 7 deletions

View File

@ -18,7 +18,6 @@ type (
Cursor2() Point
SetCursor(Point)
SetCursor2(Point)
SetCursorFloat(x, y float32)
Width() int
Height() int
MoveCursor(dx, dy int) (ok bool)
@ -189,10 +188,6 @@ func (m *Order) SetCursor2(p Point) {
m.updateCursorRows()
}
func (m *Order) SetCursorFloat(x, y float32) {
m.SetCursor(Point{int(x), int(y)})
}
func (v *Order) updateCursorRows() {
if v.Cursor() == v.Cursor2() {
v.d.Cursor.PatternRow = 0