diff --git a/MasterWindow.go b/MasterWindow.go index 352b5615..782e2663 100644 --- a/MasterWindow.go +++ b/MasterWindow.go @@ -80,7 +80,7 @@ func NewMasterWindow(title string, width, height int, flags MasterWindowFlags) * io := imgui.CurrentIO() // TODO: removed ConfigFlagEnablePowerSavingMode - io.SetConfigFlags(imgui.BackendFlagsRendererHasVtxOffset) + // TODO: removed io.SetConfigFlags(imgui.BackendFlagsRendererHasVtxOffset) io.SetBackendFlags(imgui.BackendFlagsRendererHasVtxOffset) // Disable imgui.ini diff --git a/Plot.go b/Plot.go index 1483bc20..3c42a2c4 100644 --- a/Plot.go +++ b/Plot.go @@ -211,7 +211,7 @@ func (p *PlotCanvasWidget) Build() { } imgui.PlotSetupAxisV( - imgui.AxisX, + imgui.AxisX1, Context.FontAtlas.RegisterString(p.xLabel), imgui.PlotAxisFlags(p.xFlags), ) @@ -340,7 +340,7 @@ func (p *BarHPlot) Plot() { int32(len(p.data)), p.height, p.shift, - imgui.PlotErrorBarsFlagsHorizontal, + imgui.PlotBarsFlagsHorizontal, int32(p.offset), 0, )