Skip to content

Commit

Permalink
WaveformArea: show help message on secondary trigger level arrow too
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Sep 9, 2024
1 parent 2dfa831 commit 9853666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib
2 changes: 2 additions & 0 deletions src/ngscopeclient/WaveformArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2381,6 +2381,8 @@ void WaveformArea::RenderYAxis(ImVec2 size, map<float, float>& gridmap, float vb
RenderBERLevelArrows(origin, size);

//Help message
if( (m_dragState == DRAG_STATE_TRIGGER_LEVEL) || (m_dragState == DRAG_STATE_TRIGGER_SECONDARY_LEVEL) )
m_parent->AddStatusHelp("mouse_lmb_drag", "Adjust trigger level");
if(ImGui::IsItemHovered())
{
if(m_mouseOverTriggerArrow)
Expand Down

0 comments on commit 9853666

Please sign in to comment.