mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Remove dedicated "go to frame" button.
This commit is contained in:
@@ -616,6 +616,7 @@ bool View::DrawImpl()
|
||||
{
|
||||
ImGui::PopStyleColor();
|
||||
}
|
||||
if( ImGui::IsItemClicked() ) ImGui::OpenPopup( "GoToFramePopup" );
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if( ImGui::SmallButton( " " ICON_FA_CARET_RIGHT " " ) ) ZoomToNextFrame();
|
||||
@@ -639,14 +640,6 @@ bool View::DrawImpl()
|
||||
}
|
||||
ImGui::EndCombo();
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if( ImGui::Button( ICON_FA_CROSSHAIRS ) ) ImGui::OpenPopup( "GoToFramePopup" );
|
||||
if( ImGui::IsItemHovered() )
|
||||
{
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::TextUnformatted( "Go to frame" );
|
||||
ImGui::EndTooltip();
|
||||
}
|
||||
if( ImGui::BeginPopup( "GoToFramePopup" ) )
|
||||
{
|
||||
static int frameNum = 1;
|
||||
|
||||
Reference in New Issue
Block a user