mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
Profiler: Remove "Signpost " prefix from timeline tooltips
This commit is contained in:
parent
0f1425c895
commit
5a2ccbffc5
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void TimelineTrack::mousemove_event(GUI::MouseEvent& event)
|
||||||
constexpr int hoverable_padding = 2;
|
constexpr int hoverable_padding = 2;
|
||||||
Gfx::IntRect hoverable_rect { x - hoverable_padding, frame_thickness(), hoverable_padding * 2, height() - frame_thickness() * 2 };
|
Gfx::IntRect hoverable_rect { x - hoverable_padding, frame_thickness(), hoverable_padding * 2, height() - frame_thickness() * 2 };
|
||||||
if (hoverable_rect.contains_horizontally(event.x())) {
|
if (hoverable_rect.contains_horizontally(event.x())) {
|
||||||
GUI::Application::the()->show_tooltip_immediately(String::formatted("Signpost {}, {}", signpost.signpost_string, signpost.arg2), this);
|
GUI::Application::the()->show_tooltip_immediately(String::formatted("{}, {}", signpost.signpost_string, signpost.arg2), this);
|
||||||
hovering_a_signpost = true;
|
hovering_a_signpost = true;
|
||||||
return IterationDecision::Break;
|
return IterationDecision::Break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue