diff --git a/include/DLL_VERSION.H b/include/DLL_VERSION.H index 8fa2790..709d4af 100644 --- a/include/DLL_VERSION.H +++ b/include/DLL_VERSION.H @@ -3,8 +3,8 @@ #define TBF_MAJOR 0 #define TBF_MINOR 8 -#define TBF_BUILD 0 -#define TBF_REV 2 +#define TBF_BUILD 1 +#define TBF_REV 0 diff --git a/src/ImGui/control_panel.cpp b/src/ImGui/control_panel.cpp index 44792f8..c4f534a 100644 --- a/src/ImGui/control_panel.cpp +++ b/src/ImGui/control_panel.cpp @@ -687,15 +687,16 @@ TBFix_DrawConfigUI (void) history [i].vu_peaks.inst_min = std::min (history [i].vu_peaks.inst_min, channel_peaks_ [i]); history [i].vu_peaks.inst_max = std::max (history [i].vu_peaks.inst_max, channel_peaks_ [i]); - if (history [i].vu_peaks.dwMinSample < timeGetTime () - VUMETER_TIME * 2) { - history [i].vu_peaks.disp_min = history [i].vu_peaks.inst_min; + history [i].vu_peaks.disp_min = history [i].vu_peaks.inst_min; + + if (history [i].vu_peaks.dwMinSample < timeGetTime () - VUMETER_TIME * 3) { history [i].vu_peaks.inst_min = channel_peaks_ [i]; history [i].vu_peaks.dwMinSample = timeGetTime (); } history [i].vu_peaks.disp_max = history [i].vu_peaks.inst_max; - if (history [i].vu_peaks.dwMaxSample < timeGetTime () - VUMETER_TIME * 4) { + if (history [i].vu_peaks.dwMaxSample < timeGetTime () - VUMETER_TIME * 3) { history [i].vu_peaks.inst_max = channel_peaks_ [i]; history [i].vu_peaks.dwMaxSample = timeGetTime (); } @@ -728,7 +729,8 @@ TBFix_DrawConfigUI (void) ImGui::PopStyleColor (); ImGui::EndGroup (); - if (i % 2) { + if (! (i % 2)) + { ImGui::SameLine (); ImGui::NextColumn (); } else { ImGui::Columns ( 1 ); diff --git a/version.ini b/version.ini index 1b2650c..d4969be 100644 Binary files a/version.ini and b/version.ini differ