mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Avoid drawing clipped out formspec elements (#10095)
This commit is contained in:
parent
3c2890692b
commit
287f3fb2e3
3 changed files with 21 additions and 3 deletions
|
@ -32,6 +32,8 @@ public:
|
|||
|
||||
virtual bool OnEvent(const SEvent &event) override;
|
||||
|
||||
virtual void draw() override;
|
||||
|
||||
inline void onScrollEvent(gui::IGUIElement *caller)
|
||||
{
|
||||
if (caller == m_scrollbar)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue