Skip to content
Permalink
Browse files

Add `animated_image` to clickthrough elements (#9724)

  • Loading branch information
v-rob committed Apr 25, 2020
1 parent 8b45f6a commit bc60e44d80a02bd48163440da2fd3165c0910376
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/guiFormSpecMenu.cpp
@@ -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);
}

0 comments on commit bc60e44

Please sign in to comment.
You can’t perform that action at this time.