1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-05 06:33:52 +00:00

Workaround scroll-to-message regression.

This commit is contained in:
Bartosz Taudul 2019-07-24 21:40:39 +02:00
parent 9ad9045078
commit e5a3d7aa25
2 changed files with 2 additions and 2 deletions

View File

@ -5781,7 +5781,7 @@ void View::DrawMessages()
if( m_msgToFocus == v ) if( m_msgToFocus == v )
{ {
ImGui::SetScrollHereY(); ImGui::SetScrollHereY();
m_msgToFocus = nullptr; m_msgToFocus.Decay( nullptr );
m_messagesScrollBottom = false; m_messagesScrollBottom = false;
} }
ImGui::PopID(); ImGui::PopID();

View File

@ -253,7 +253,7 @@ private:
LockHighlight m_lockHighlight { -1 }; LockHighlight m_lockHighlight { -1 };
DecayValue<const MessageData*> m_msgHighlight = nullptr; DecayValue<const MessageData*> m_msgHighlight = nullptr;
DecayValue<uint32_t> m_lockHoverHighlight = InvalidId; DecayValue<uint32_t> m_lockHoverHighlight = InvalidId;
const MessageData* m_msgToFocus = nullptr; DecayValue<const MessageData*> m_msgToFocus = nullptr;
const GpuEvent* m_gpuInfoWindow = nullptr; const GpuEvent* m_gpuInfoWindow = nullptr;
const GpuEvent* m_gpuHighlight; const GpuEvent* m_gpuHighlight;
uint64_t m_gpuInfoWindowThread; uint64_t m_gpuInfoWindowThread;