diff options
| author | Eugene Sandulenko | 2016-07-22 11:15:58 +0300 |
|---|---|---|
| committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
| commit | a686049c46387be53010357050bd252845a48d48 (patch) | |
| tree | fc666cb8b9b43e18b13a41f360c95c2e9a1a1a38 /gui | |
| parent | ea80e24481f12c117d6aecf6e5260b08423454ec (diff) | |
| download | scummvm-rg350-a686049c46387be53010357050bd252845a48d48.tar.gz scummvm-rg350-a686049c46387be53010357050bd252845a48d48.tar.bz2 scummvm-rg350-a686049c46387be53010357050bd252845a48d48.zip | |
GUI: Fix widget clipping
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp index fcfd0f8986..f6e6d09a8a 100644 --- a/gui/widget.cpp +++ b/gui/widget.cpp @@ -498,7 +498,7 @@ void PicButtonWidget::drawWidget() { const int x = _x + (_w - gfx->w) / 2; const int y = _y + (_h - gfx->h) / 2; - g_gui.theme()->drawSurface(Common::Rect(x, y, x + gfx->w, y + gfx->h), *gfx, _state, _alpha, _transparency); + g_gui.theme()->drawSurfaceClip(Common::Rect(x, y, x + gfx->w, y + gfx->h), getBossClipRect(), *gfx, _state, _alpha, _transparency); } } else { Graphics::TransparentSurface *gfx; |
