Add back moving the pen to origin in BControlLook arrow drawing.
Removing this did not affect scrollbar arrow buttons, but made the arrows disappear on the Deskbar. Clearly, BControlLook cannot be changed without extensive testing.
This commit is contained in:
parent
dca92a6c75
commit
f44a56ca9a
@ -777,6 +777,8 @@ BControlLook::DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect,
|
||||
float penSize = view->PenSize();
|
||||
drawing_mode mode = view->DrawingMode();
|
||||
|
||||
view->MovePenTo(BPoint(0, 0));
|
||||
|
||||
view->SetPenSize(ceilf(hInset / 2.0));
|
||||
view->SetDrawingMode(B_OP_OVER);
|
||||
view->StrokeShape(&arrowShape);
|
||||
|
Loading…
x
Reference in New Issue
Block a user