Tabs: made scrolling buttons never keyboard/gamepad navigation candidates.
This commit is contained in:
@@ -70,6 +70,7 @@ Other Changes:
|
|||||||
any potential shrinking is applied.
|
any potential shrinking is applied.
|
||||||
- Tabs: fixed tab bar underline not drawing below scroll buttons, when
|
- Tabs: fixed tab bar underline not drawing below scroll buttons, when
|
||||||
they are enabled (minor regression from 1.90). (#6820, #4859, #5022, #5239)
|
they are enabled (minor regression from 1.90). (#6820, #4859, #5022, #5239)
|
||||||
|
- Tabs: made scrolling buttons never keyboard/gamepad navigation candidates.
|
||||||
- Nav: fixed a bug where GamepadMenu button couldn't toggle between main and
|
- Nav: fixed a bug where GamepadMenu button couldn't toggle between main and
|
||||||
menu layers while navigating a Modal window. (#8834)
|
menu layers while navigating a Modal window. (#8834)
|
||||||
- Error Handling: minor improvements to error handling for TableGetSortSpecs()
|
- Error Handling: minor improvements to error handling for TableGetSortSpecs()
|
||||||
|
|||||||
+1
-1
@@ -10046,7 +10046,7 @@ static ImGuiTabItem* ImGui::TabBarScrollingButtons(ImGuiTabBar* tab_bar)
|
|||||||
|
|
||||||
PushStyleColor(ImGuiCol_Text, arrow_col);
|
PushStyleColor(ImGuiCol_Text, arrow_col);
|
||||||
PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0));
|
PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0));
|
||||||
PushItemFlag(ImGuiItemFlags_ButtonRepeat, true);
|
PushItemFlag(ImGuiItemFlags_ButtonRepeat | ImGuiItemFlags_NoNav, true);
|
||||||
const float backup_repeat_delay = g.IO.KeyRepeatDelay;
|
const float backup_repeat_delay = g.IO.KeyRepeatDelay;
|
||||||
const float backup_repeat_rate = g.IO.KeyRepeatRate;
|
const float backup_repeat_rate = g.IO.KeyRepeatRate;
|
||||||
g.IO.KeyRepeatDelay = 0.250f;
|
g.IO.KeyRepeatDelay = 0.250f;
|
||||||
|
|||||||
Reference in New Issue
Block a user