mirror of
https://github.com/minetest/minetest.git
synced 2025-01-11 15:57:29 +01:00
Fix textarea scrollbar inside border=false (#13678)
This commit is contained in:
parent
20e9969313
commit
21ecdd5681
@ -106,9 +106,8 @@ void GUIEditBoxWithScrollBar::draw()
|
|||||||
skin->draw3DSunkenPane(this, bg_color, false, m_background,
|
skin->draw3DSunkenPane(this, bg_color, false, m_background,
|
||||||
AbsoluteRect, &AbsoluteClippingRect);
|
AbsoluteRect, &AbsoluteClippingRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
calculateFrameRect();
|
|
||||||
}
|
}
|
||||||
|
calculateFrameRect();
|
||||||
|
|
||||||
core::rect<s32> local_clip_rect = m_frame_rect;
|
core::rect<s32> local_clip_rect = m_frame_rect;
|
||||||
local_clip_rect.clipAgainst(AbsoluteClippingRect);
|
local_clip_rect.clipAgainst(AbsoluteClippingRect);
|
||||||
|
Loading…
Reference in New Issue
Block a user