mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Remove dedicated "go to frame" button.
This commit is contained in:
parent
a7a36c08cb
commit
863f37e1bc
2
NEWS
2
NEWS
@ -21,6 +21,8 @@ v0.7.1 (xxxx-xx-xx)
|
|||||||
- Zones in find zones menu can be now grouped by zone name.
|
- Zones in find zones menu can be now grouped by zone name.
|
||||||
- Vulkan and D3D12 GPU contexts can be now calibrated.
|
- Vulkan and D3D12 GPU contexts can be now calibrated.
|
||||||
- Added CSV export utility.
|
- Added CSV export utility.
|
||||||
|
- "Go to frame" popup no longer has a dedicated button. To show it, click on
|
||||||
|
the frame counter.
|
||||||
|
|
||||||
v0.7 (2020-06-11)
|
v0.7 (2020-06-11)
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -616,6 +616,7 @@ bool View::DrawImpl()
|
|||||||
{
|
{
|
||||||
ImGui::PopStyleColor();
|
ImGui::PopStyleColor();
|
||||||
}
|
}
|
||||||
|
if( ImGui::IsItemClicked() ) ImGui::OpenPopup( "GoToFramePopup" );
|
||||||
}
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if( ImGui::SmallButton( " " ICON_FA_CARET_RIGHT " " ) ) ZoomToNextFrame();
|
if( ImGui::SmallButton( " " ICON_FA_CARET_RIGHT " " ) ) ZoomToNextFrame();
|
||||||
@ -639,14 +640,6 @@ bool View::DrawImpl()
|
|||||||
}
|
}
|
||||||
ImGui::EndCombo();
|
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" ) )
|
if( ImGui::BeginPopup( "GoToFramePopup" ) )
|
||||||
{
|
{
|
||||||
static int frameNum = 1;
|
static int frameNum = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user