make transitions work properly

This commit is contained in:
Konstantin Käfer
2014-07-01 12:21:53 +02:00
parent a6f7696feb
commit 97fc5d9f74
8 changed files with 65 additions and 24 deletions

View File

@@ -381,6 +381,9 @@ bool Map::getDebug() const {
void Map::toggleClass(const std::string &name) {
style->toggleClass(name);
if (style->hasTransitions()) {
update();
}
}
const std::vector<std::string> &Map::getAppliedClasses() const {