ControlLook: fix clipping
Remove ConstrainClippingRegion calls as they do not take into account view transformations. Clip drawing to the drawing rect, not the updated area. Fixes #12890 Change-Id: Ie76cb83e0af03213008da78407de25261daea5df Reviewed-on: https://review.haiku-os.org/c/haiku/+/4457 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
af3dceb279
commit
e6a598a2f4
@@ -430,6 +430,9 @@ public:
|
||||
virtual float GetScrollBarWidth(
|
||||
orientation orientation = B_VERTICAL);
|
||||
|
||||
static bool ShouldDraw(BView* view, const BRect& rect,
|
||||
const BRect& updateRect);
|
||||
|
||||
private:
|
||||
// FBC padding
|
||||
virtual void _ReservedControlLook6();
|
||||
|
||||
Reference in New Issue
Block a user