From 1bff74b3a86602ba62f3eba2e482436418975432 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Sep 2012 20:56:19 +0300 Subject: Remove useless gray box between scrollbars in scrollarea control. --- src/gui/widgets/scrollarea.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/gui/widgets/scrollarea.cpp') diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index c290a720a..0804a3b6e 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -256,18 +256,7 @@ void ScrollArea::draw(gcn::Graphics *graphics) drawHMarker(graphics); } - - if (mHBarVisible && mVBarVisible) - { - graphics->setColor(getBaseColor()); - graphics->fillRectangle(gcn::Rectangle(getWidth() - mScrollbarWidth, - getHeight() - mScrollbarWidth, - mScrollbarWidth, - mScrollbarWidth)); - } - updateAlpha(); - drawChildren(graphics); } -- cgit v1.2.3-70-g09d2