1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

Cosmetics.

This commit is contained in:
Bartosz Taudul 2023-03-18 15:59:52 +01:00
parent 9538fa99ca
commit c75bec9122
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -85,7 +85,7 @@ std::optional<int> TimelineController::CalculateScrollPosition() const
return std::nullopt; return std::nullopt;
} }
void TimelineController::End( double pxns, const ImVec2& wpos, bool hover, bool vcenter, float yMin, float yMax ) void TimelineController::End( double pxns, const ImVec2& wpos, bool hover, bool vcenter, float yMin, float yMax )
{ {
auto shouldUpdateCenterItem = [&] () { auto shouldUpdateCenterItem = [&] () {
const auto imguiChangedScroll = m_scroll != ImGui::GetScrollY(); const auto imguiChangedScroll = m_scroll != ImGui::GetScrollY();