Skip to content

Commit

Permalink
revert to GoUpdatePlot
Browse files Browse the repository at this point in the history
  • Loading branch information
rcoreilly committed Jul 16, 2024
1 parent 46f8bcf commit dddae2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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.Async(plot.UpdatePlot)
plot.GoUpdatePlot()

Check failure on line 104 in egui/plots.go

View workflow job for this annotation

GitHub Actions / build

plot.GoUpdatePlot undefined (type *plotcore.PlotEditor has no field or method GoUpdatePlot)
}
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.Async(plot.UpdatePlot)
plot.GoUpdatePlot()

Check failure on line 113 in egui/plots.go

View workflow job for this annotation

GitHub Actions / build

plot.GoUpdatePlot undefined (type *plotcore.PlotEditor has no field or method GoUpdatePlot)
}
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.Async(plot.UpdatePlot)
plot.GoUpdatePlot()

Check failure on line 126 in egui/plots.go

View workflow job for this annotation

GitHub Actions / build

plot.GoUpdatePlot undefined (type *plotcore.PlotEditor has no field or method GoUpdatePlot)
}
return plot
}
Expand Down

0 comments on commit dddae2c

Please sign in to comment.