Skip to content

Commit bc60e44

Browse files
authoredApr 25, 2020
Add animated_image to clickthrough elements (#9724)
1 parent 8b45f6a commit bc60e44

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

Diff for: ‎src/gui/guiFormSpecMenu.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,9 @@ void GUIFormSpecMenu::parseAnimatedImage(parserData *data, const std::string &el
915915

916916
auto style = getDefaultStyleForElement("animated_image", spec.fname, "image");
917917
e->setNotClipped(style.getBool(StyleSpec::NOCLIP, false));
918-
e->drop();
918+
919+
// Animated images should let events through
920+
m_clickthrough_elements.push_back(e);
919921

920922
m_fields.push_back(spec);
921923
}

0 commit comments

Comments
 (0)
Please sign in to comment.