From 21ecdd56813ca683f2e174a9edd8bb976efd8b76 Mon Sep 17 00:00:00 2001 From: Joachim Stolberg Date: Sun, 30 Jul 2023 15:54:52 +0200 Subject: [PATCH] Fix textarea scrollbar inside border=false (#13678) --- src/gui/guiEditBoxWithScrollbar.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/guiEditBoxWithScrollbar.cpp b/src/gui/guiEditBoxWithScrollbar.cpp index 335085d13..91d417253 100644 --- a/src/gui/guiEditBoxWithScrollbar.cpp +++ b/src/gui/guiEditBoxWithScrollbar.cpp @@ -106,9 +106,8 @@ void GUIEditBoxWithScrollBar::draw() skin->draw3DSunkenPane(this, bg_color, false, m_background, AbsoluteRect, &AbsoluteClippingRect); } - - calculateFrameRect(); } + calculateFrameRect(); core::rect local_clip_rect = m_frame_rect; local_clip_rect.clipAgainst(AbsoluteClippingRect);