diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-12 20:56:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-12 20:56:19 +0300 |
commit | 1bff74b3a86602ba62f3eba2e482436418975432 (patch) | |
tree | 3f35fbce62439bb91457ab5abed1d403c3cca4a1 /src | |
parent | 1031587ed2e4623d622bcc602c262290e14ea4c5 (diff) | |
download | plus-1bff74b3a86602ba62f3eba2e482436418975432.tar.gz plus-1bff74b3a86602ba62f3eba2e482436418975432.tar.bz2 plus-1bff74b3a86602ba62f3eba2e482436418975432.tar.xz plus-1bff74b3a86602ba62f3eba2e482436418975432.zip |
Remove useless gray box between scrollbars in scrollarea control.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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); } |