mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Remove VisData.
Its functionality is now incorporated into TimelineItem. For purposes of maintaining visibility of frame sets and locks a much simpler ptr -> bool map is now used.
This commit is contained in:
@@ -840,7 +840,7 @@ bool View::DrawImpl()
|
||||
if( ImGui::SmallButton( " " ICON_FA_CARET_LEFT " " ) ) ZoomToPrevFrame();
|
||||
ImGui::SameLine();
|
||||
{
|
||||
const auto vis = m_tc.Vis( m_frames ).visible;
|
||||
const auto vis = Vis( m_frames );
|
||||
if( !vis )
|
||||
{
|
||||
ImGui::PushStyleColor( ImGuiCol_Text, GImGui->Style.Colors[ImGuiCol_TextDisabled] );
|
||||
|
||||
Reference in New Issue
Block a user