Skip to content

Commit

Permalink
Add animated_image to clickthrough elements (#9724)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rob committed Apr 25, 2020
1 parent 8b45f6a commit bc60e44
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/guiFormSpecMenu.cpp
Expand Up @@ -915,7 +915,9 @@ void GUIFormSpecMenu::parseAnimatedImage(parserData *data, const std::string &el

auto style = getDefaultStyleForElement("animated_image", spec.fname, "image");
e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false));
e->drop();

// Animated images should let events through
m_clickthrough_elements.push_back(e);

m_fields.push_back(spec);
}
Expand Down

0 comments on commit bc60e44

Please sign in to comment.