Skip to content

Commit

Permalink
Remove the scrollbar highlighting when clicked
Browse files Browse the repository at this point in the history
It does not 'de-highlight' and it was only active for the Summary view
(making it more consistent with the rest of YAFC)
  • Loading branch information
veger committed Jun 18, 2024
1 parent cf5518f commit e1cd68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Yafc.UI/ImGui/ScrollArea.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private void BuildScrollBar(ImGui gui, int axis, in Rect scrollbarRect, in Rect
}
break;
case ImGuiAction.Build:
gui.DrawRectangle(scrollerRect, gui.IsMouseDown(scrollbarRect, SDL.SDL_BUTTON_LEFT) ? SchemeColor.GreyAlt : SchemeColor.Grey);
gui.DrawRectangle(scrollerRect, SchemeColor.Grey);
break;
}
}
Expand Down

0 comments on commit e1cd68e

Please sign in to comment.