From 1a76b548e5a50b774646b5e7d959d4fdc083ae8c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 15 Oct 2019 23:39:22 +0200 Subject: PINK: Disable border for all text windows --- engines/pink/objects/actions/action_text.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines') diff --git a/engines/pink/objects/actions/action_text.cpp b/engines/pink/objects/actions/action_text.cpp index 0c9889377b..aae783a070 100644 --- a/engines/pink/objects/actions/action_text.cpp +++ b/engines/pink/objects/actions/action_text.cpp @@ -109,6 +109,9 @@ void ActionText::start() { _txtWnd->setBorder(noborder, true); + Graphics::TransparentSurface *noborder2 = new Graphics::TransparentSurface(*noborder, true); + _txtWnd->setBorder(noborder2, false); + if (_actor->getPage()->getGame()->getLanguage() == Common::EN_ANY) _txtWnd->appendText(str, font); } else { -- cgit v1.2.3