mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix animation_image support in scroll containers
This commit is contained in:
parent
857dbcd572
commit
6591597430
2 changed files with 2 additions and 1 deletions
|
@ -928,7 +928,7 @@ void GUIFormSpecMenu::parseAnimatedImage(parserData *data, const std::string &el
|
|||
|
||||
core::rect<s32> rect = core::rect<s32>(pos, pos + geom);
|
||||
|
||||
GUIAnimatedImage *e = new GUIAnimatedImage(Environment, this, spec.fid,
|
||||
GUIAnimatedImage *e = new GUIAnimatedImage(Environment, data->current_parent, spec.fid,
|
||||
rect, texture_name, frame_count, frame_duration, m_tsrc);
|
||||
|
||||
if (parts.size() >= 7)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue