From 005d429599088b523e4f62326824c7fb51ba9c63 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 21 Apr 2011 06:09:30 +0300 Subject: Fix draw issue in SDL after vertex precalculation. --- src/gui/widgets/scrollarea.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/scrollarea.cpp') diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index 0be492ee6..59e323e94 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -350,6 +350,10 @@ void ScrollArea::drawFrame(gcn::Graphics *graphics) mDrawWidth = rect.width; mDrawHeight = rect.height; } + else if (static_cast(graphics)->getRedraw()) + { + recalc = true; + } } if (recalc) -- cgit v1.2.3-60-g2f50