mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Apply a scrollbar's default value to scroll containers (#9699)
Fixes #9691.
This commit is contained in:
parent
7b57d3f613
commit
241bf44260
2 changed files with 6 additions and 2 deletions
|
@ -38,7 +38,11 @@ public:
|
|||
updateScrolling();
|
||||
}
|
||||
|
||||
inline void setScrollBar(GUIScrollBar *scrollbar) { m_scrollbar = scrollbar; }
|
||||
inline void setScrollBar(GUIScrollBar *scrollbar)
|
||||
{
|
||||
m_scrollbar = scrollbar;
|
||||
updateScrolling();
|
||||
}
|
||||
|
||||
private:
|
||||
enum OrientationEnum
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue