Skip to content

Commit

Permalink
update to new async changes in core
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Jul 15, 2024
1 parent 52b96a2 commit 38d3e68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions egui/plots.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (gui *GUI) SetPlot(scope etime.ScopeKey, plt *plotcore.PlotEditor) {
func (gui *GUI) UpdatePlot(mode etime.Modes, time etime.Times) *plotcore.PlotEditor {
plot := gui.Plot(mode, time)
if plot != nil {
plot.GoUpdatePlot()
plot.Async(plot.UpdatePlot)

Check failure on line 104 in egui/plots.go

View workflow job for this annotation

GitHub Actions / build

plot.Async undefined (type *plotcore.PlotEditor has no field or method Async)
}
return plot
}
Expand All @@ -110,7 +110,7 @@ func (gui *GUI) UpdatePlot(mode etime.Modes, time etime.Times) *plotcore.PlotEdi
func (gui *GUI) UpdatePlotScope(scope etime.ScopeKey) *plotcore.PlotEditor {
plot := gui.PlotScope(scope)
if plot != nil {
plot.GoUpdatePlot()
plot.Async(plot.UpdatePlot)

Check failure on line 113 in egui/plots.go

View workflow job for this annotation

GitHub Actions / build

plot.Async undefined (type *plotcore.PlotEditor has no field or method Async)
}
return plot
}
Expand All @@ -123,7 +123,7 @@ func (gui *GUI) UpdateCyclePlot(mode etime.Modes, cycle int) *plotcore.PlotEdito
return plot
}
if (gui.CycleUpdateInterval > 0) && (cycle%gui.CycleUpdateInterval == 0) {
plot.GoUpdatePlot()
plot.Async(plot.UpdatePlot)

Check failure on line 126 in egui/plots.go

View workflow job for this annotation

GitHub Actions / build

plot.Async undefined (type *plotcore.PlotEditor has no field or method Async)
}
return plot
}
Expand Down Expand Up @@ -177,7 +177,7 @@ func (gui *GUI) TableView(mode etime.Modes, time etime.Times) *tensorcore.Table
func (gui *GUI) UpdateTableView(mode etime.Modes, time etime.Times) *tensorcore.Table {
tv := gui.TableView(mode, time)
if tv != nil {
tv.GoUpdateView()
tv.AsyncUpdateTable()

Check failure on line 180 in egui/plots.go

View workflow job for this annotation

GitHub Actions / build

tv.AsyncUpdateTable undefined (type *tensorcore.Table has no field or method AsyncUpdateTable)
}
return tv
}

0 comments on commit 38d3e68

Please sign in to comment.