Fix brim ear size preview when dragging the slide

This commit is contained in:
Noisyfox 2025-04-01 16:22:49 +08:00 committed by Lane.Wei
parent d6524f8963
commit ad0565d486
1 changed files with 1 additions and 0 deletions

View File

@ -793,6 +793,7 @@ bool ImGuiWrapper::bbl_slider_float(const std::string& label, float* v, float v_
bool ret = ImGui::BBLSliderFloat(str_label.c_str(), v, v_min, v_max, format, power); bool ret = ImGui::BBLSliderFloat(str_label.c_str(), v, v_min, v_max, format, power);
m_last_slider_status.hovered = ImGui::IsItemHovered(); m_last_slider_status.hovered = ImGui::IsItemHovered();
m_last_slider_status.edited = ImGui::IsItemEdited();
m_last_slider_status.clicked = ImGui::IsItemClicked(); m_last_slider_status.clicked = ImGui::IsItemClicked();
m_last_slider_status.deactivated_after_edit = ImGui::IsItemDeactivatedAfterEdit(); m_last_slider_status.deactivated_after_edit = ImGui::IsItemDeactivatedAfterEdit();