protyposis / AudioAlign

Audio Synchronization and Analysis Tool
GNU Affero General Public License v3.0
137 stars 16 forks source link

fix: missing sign on alignment graph offset axis #20

Closed protyposis closed 6 months ago

protyposis commented 6 months ago

When using a custom StringFormat on OxyPlot's TimeSpanAxis, negative signs are not displayed on the axis labels. This seems to be a bug(?) in .NET's string.Format for TimeSpan, which OxyPlot uses internally.

This is fixed by adding a negative sign when a custom format is set.