diff options
Diffstat (limited to 'gui/ThemeRenderer.cpp')
-rw-r--r-- | gui/ThemeRenderer.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gui/ThemeRenderer.cpp b/gui/ThemeRenderer.cpp index 474b927845..1272845702 100644 --- a/gui/ThemeRenderer.cpp +++ b/gui/ThemeRenderer.cpp @@ -361,13 +361,8 @@ void ThemeRenderer::queueDD(DrawData type, const Common::Rect &r, uint32 dynamic } else { if (kDrawDataDefaults[type].parent != kDDNone && kDrawDataDefaults[type].parent != type) queueDD(kDrawDataDefaults[type].parent, r); - - // HACK: text selection backgrounds must be drawn before other widgets, because - // they are implemented poorly and they overlap. - if (type == kDDTextSelectionBackground) - _screenQueue.push_front(q); - else - _screenQueue.push_back(q); + + _screenQueue.push_back(q); } } else { drawDD(q, !_widgets[type]->_buffer, _widgets[type]->_buffer); |