1
0
şunun yansıması https://github.com/luanti-org/luanti.git eşitlendi 2026-01-01 02:45:19 +01:00

Add animated_image to clickthrough elements (#9724)

Bu işleme şunda yer alıyor:
v-rob
2020-04-25 07:55:21 -07:00
işlemeyi yapan: GitHub
ebeveyn 8b45f6a5f3
işleme bc60e44d80

Dosyayı Görüntüle

@@ -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);
}