Internals: TabBar: minor tweaks and renaming.

This commit is contained in:
ocornut
2021-02-24 16:05:47 +01:00
parent 6f4b9c65ae
commit 3776ba565f
2 changed files with 20 additions and 17 deletions

View File

@ -1897,7 +1897,7 @@ struct ImGuiTabBar
ImGuiTabBarFlags Flags;
ImGuiID ID; // Zero for tab-bars used by docking
ImGuiID SelectedTabId; // Selected tab/window
ImGuiID NextSelectedTabId;
ImGuiID NextSelectedTabId; // Next selected tab/window. Will also trigger a scrolling animation
ImGuiID VisibleTabId; // Can occasionally be != SelectedTabId (e.g. when previewing contents for CTRL+TAB preview)
int CurrFrameVisible;
int PrevFrameVisible;