diff --git a/src/apps/haikudepot/ui_generic/BarberPole.cpp b/src/apps/haikudepot/ui_generic/BarberPole.cpp index 4b7488a461..00318c7c3e 100644 --- a/src/apps/haikudepot/ui_generic/BarberPole.cpp +++ b/src/apps/haikudepot/ui_generic/BarberPole.cpp @@ -211,11 +211,11 @@ BarberPole::Draw(BRect updateRect) position += fStripeWidth; } SetDrawingMode(B_OP_COPY); + // Draw box around it + bounds = Bounds(); + be_control_look->DrawBorder(this, bounds, updateRect, + ui_color(B_PANEL_BACKGROUND_COLOR), B_PLAIN_BORDER); } - // Draw box around it - BRect bounds = Bounds(); - be_control_look->DrawBorder(this, bounds, updateRect, - ui_color(B_PANEL_BACKGROUND_COLOR), B_PLAIN_BORDER); }