Skip to content

Commit

Permalink
xrUICore/TrackBar/UITrackBar.cpp: don't register trackbar's slider in…
Browse files Browse the repository at this point in the history
… the focus system (#943)
  • Loading branch information
Xottab-DUTY committed Jan 17, 2025
1 parent 60ea0bc commit a94e127
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xrUICore/TrackBar/UITrackBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ CUITrackBar::CUITrackBar()

m_b_mouse_capturer = false;

// We already have input logic for the track bar
// Separately existing slider will slightly pollute
// the focus search
UI().Focus().UnregisterFocusable(m_pSlider);

UI().Focus().RegisterFocusable(this);
}

Expand Down

0 comments on commit a94e127

Please sign in to comment.