mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Cosmetics.
This commit is contained in:
parent
9538fa99ca
commit
c75bec9122
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user