1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2025-01-31 03:18:51 -05:00

remove inline on LabelTickTime

This commit is contained in:
epezent 2020-12-03 23:47:27 -06:00
parent fa10a03a53
commit b369d62f86

View File

@ -1021,7 +1021,7 @@ inline float GetDateTimeWidth(ImPlotDateTimeFmt fmt) {
return ImGui::CalcTextSize(buffer).x; return ImGui::CalcTextSize(buffer).x;
} }
inline void LabelTickTime(ImPlotTick& tick, ImGuiTextBuffer& buffer, const ImPlotTime& t, ImPlotDateTimeFmt fmt) { void LabelTickTime(ImPlotTick& tick, ImGuiTextBuffer& buffer, const ImPlotTime& t, ImPlotDateTimeFmt fmt) {
char temp[32]; char temp[32];
if (tick.ShowLabel) { if (tick.ShowLabel) {
tick.TextOffset = buffer.size(); tick.TextOffset = buffer.size();