@ -5943,8 +5943,8 @@ bool ImGui::TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* l
{
const ImU32 bg_col = GetColorU32 ( ( held & & hovered ) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header ) ;
RenderFrame ( frame_bb . Min , frame_bb . Max , bg_col , false ) ;
RenderNavHighlight ( frame_bb , id , nav_highlight_flags ) ;
}
RenderNavHighlight ( frame_bb , id , nav_highlight_flags ) ;
if ( flags & ImGuiTreeNodeFlags_Bullet )
RenderBullet ( window - > DrawList , ImVec2 ( text_pos . x - text_offset_x * 0.5f , text_pos . y + g . FontSize * 0.5f ) , text_col ) ;
else if ( ! is_leaf )
@ -6207,8 +6207,8 @@ bool ImGui::Selectable(const char* label, bool selected, ImGuiSelectableFlags fl
{
const ImU32 col = GetColorU32 ( ( held & & hovered ) ? ImGuiCol_HeaderActive : hovered ? ImGuiCol_HeaderHovered : ImGuiCol_Header ) ;
RenderFrame ( bb . Min , bb . Max , col , false , 0.0f ) ;
RenderNavHighlight ( bb , id , ImGuiNavHighlightFlags_TypeThin | ImGuiNavHighlightFlags_NoRounding ) ;
}
RenderNavHighlight ( bb , id , ImGuiNavHighlightFlags_TypeThin | ImGuiNavHighlightFlags_NoRounding ) ;
if ( span_all_columns & & window - > DC . CurrentColumns )
PopColumnsBackground ( ) ;