After scrolling, the scroll bar indicators disappear
Original Reporter info from Mantis: djenkins @dfjenkins
-
Reporter name: David Jenkins
Original Reporter info from Mantis: djenkins @dfjenkins
- Reporter name: David Jenkins
Description:
It seems the backgrounds are invalidating and redrawing but the actual bar is not. Adding a setNeedsDisplay to end of TCocoaScrollBar.actionScrolling fixes this.
Additional information:
Patch:
Index: cocoaprivate.pp
===================================================================
--- cocoaprivate.pp (revision 21837)
+++ cocoaprivate.pp (revision 21914)
@@ -1572,6 +1572,7 @@
LMScroll.ScrollCode := SIF_POS;
LCLMessageGlue.DeliverMessage(LCLScrollBar, LMScroll);
+ setNeedsDisplay_(True);
end;
function TCocoaScrollBar.IsHorizontal: Boolean;
Mantis conversion info:
- Mantis ID: 32827