mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Add asm line hover highlight for unknown locations.
In some cases there are many unknown locations next to each other. Having a hover highlight helps to distinguish one from another.
This commit is contained in:
parent
d5a46f97c1
commit
99a110d5b1
@ -3617,6 +3617,7 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
|
|||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
startPos = ImGui::GetCursorScreenPos();
|
startPos = ImGui::GetCursorScreenPos();
|
||||||
TextDisabledUnformatted( "[unknown]" );
|
TextDisabledUnformatted( "[unknown]" );
|
||||||
|
if( ImGui::IsItemHovered() ) lineHovered = true;
|
||||||
}
|
}
|
||||||
ImGui::SameLine( 0, 0 );
|
ImGui::SameLine( 0, 0 );
|
||||||
const auto endPos = ImGui::GetCursorScreenPos();
|
const auto endPos = ImGui::GetCursorScreenPos();
|
||||||
|
Loading…
Reference in New Issue
Block a user