So I've got a draggable panel with a scrollbar, and the panel is set to only show the scrollbar when dragging. That works great, but if I use the scroll wheel, this doesn't make the scrollbar visible like I would expect from a native Mac app. I changed line 603 of UIDraggablePanel from this:
if (showScrollBars != ShowCondition.WhenDragging || mDragID != -10)
to this:
if (showScrollBars != ShowCondition.WhenDragging || mDragID != -10 || mMomentum.magnitude > 0.01f)
which makes the scrollbar visible while using the scroll wheel, and has the added benefit of leaving it visible after a drag while momentum is still being applied. That threshold could maybe be tuned a little bit. I started with 0.0001f as is used a few lines further down in the class, but that left the bar showing for a bit too long. Any chance this, or a similar change, could be incorporated?