1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 09:25:37 +02:00

Formspec: fix clamped scroll offset of scroll_containers larger than 1000px

This commit is contained in:
SmallJoker
2025-03-30 18:15:38 +02:00
committed by GitHub
parent 882f132062
commit 309c0a0cb6
6 changed files with 11 additions and 10 deletions

View File

@@ -129,9 +129,9 @@ class GUIFormSpecMenu : public GUIModalMenu
bool is_exit;
// Draw priority for formspec version < 3
int priority;
core::rect<s32> rect;
gui::ECURSOR_ICON fcursor_icon;
std::string sound;
f32 aux_f32 = 0;
};
struct TooltipSpec