From 17c9912b9084d25d3d7a9f6b8e53e27918120ca1 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sun, 7 Apr 2013 11:40:22 -0400 Subject: [PATCH] Another tweak, make the left diagonal arrows flush left. This moves the left up and left down arrows 1px to the left so that they are flush with the left side of the container they're drawn in. --- src/kits/interface/ControlLook.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kits/interface/ControlLook.cpp b/src/kits/interface/ControlLook.cpp index 3aa45f5df5..0be8af3338 100644 --- a/src/kits/interface/ControlLook.cpp +++ b/src/kits/interface/ControlLook.cpp @@ -763,9 +763,9 @@ BControlLook::DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect, tri3.Set(rect.right + 1, rect.top + 1); break; case B_LEFT_UP_ARROW: - tri1.Set(rect.left + 1, rect.bottom); - tri2.Set(rect.left + 1, rect.top); - tri3.Set(rect.right, rect.top); + tri1.Set(rect.left, rect.bottom); + tri2.Set(rect.left, rect.top); + tri3.Set(rect.right - 1, rect.top); break; case B_RIGHT_UP_ARROW: tri1.Set(rect.left + 1, rect.top); @@ -778,9 +778,9 @@ BControlLook::DrawArrowShape(BView* view, BRect& rect, const BRect& updateRect, tri3.Set(rect.left + 1, rect.bottom); break; case B_LEFT_DOWN_ARROW: - tri1.Set(rect.right, rect.bottom); - tri2.Set(rect.left + 1, rect.bottom); - tri3.Set(rect.left + 1, rect.top); + tri1.Set(rect.right - 1, rect.bottom); + tri2.Set(rect.left, rect.bottom); + tri3.Set(rect.left, rect.top); break; }