mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-30 19:22:14 +00:00
Formspec: fix clamped scroll offset of scroll_containers larger than 1000px
This commit is contained in:
parent
882f132062
commit
309c0a0cb6
6 changed files with 11 additions and 10 deletions
|
@ -29,6 +29,7 @@ public:
|
|||
}
|
||||
|
||||
void setScrollBar(GUIScrollBar *scrollbar);
|
||||
void updateScrolling();
|
||||
|
||||
private:
|
||||
enum OrientationEnum
|
||||
|
@ -43,5 +44,4 @@ private:
|
|||
f32 m_scrollfactor; //< scrollbar pos * scrollfactor = scroll offset in pixels
|
||||
std::optional<s32> m_content_padding_px; //< in pixels
|
||||
|
||||
void updateScrolling();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue