mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-22 15:04:36 -04:00
refactor(tracker/gioui): upgrade gio & store Tracker to gtx.Values
This commit is contained in:
parent
08c36ed462
commit
d78ef98e73
@ -48,7 +48,8 @@ func NewOrderEditor(m *tracker.Model) *OrderEditor {
|
||||
}
|
||||
}
|
||||
|
||||
func (oe *OrderEditor) Layout(gtx C, t *Tracker) D {
|
||||
func (oe *OrderEditor) Layout(gtx C) D {
|
||||
t := TrackerFromContext(gtx)
|
||||
if oe.scrollTable.CursorMoved() {
|
||||
cursor := t.TrackEditor.scrollTable.Table.Cursor()
|
||||
t.TrackEditor.scrollTable.ColTitleList.CenterOn(cursor.X)
|
||||
|
Reference in New Issue
Block a user