summaryrefslogtreecommitdiff
path: root/include/llmr/style/style.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/llmr/style/style.hpp')
-rw-r--r--include/llmr/style/style.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llmr/style/style.hpp b/include/llmr/style/style.hpp
index 73ad6d6bd2..fd5f7e2226 100644
--- a/include/llmr/style/style.hpp
+++ b/include/llmr/style/style.hpp
@@ -8,6 +8,7 @@
#include <llmr/geometry/sprite_atlas.hpp>
#include <llmr/util/transition.hpp>
#include <llmr/util/uv.hpp>
+#include <llmr/style/class_dictionary.hpp>
#include <map>
#include <unordered_map>
@@ -38,7 +39,7 @@ public:
public:
std::string id;
StyleBucket::Ptr bucket;
- std::unordered_map<std::string, ClassProperties> styles;
+ std::map<ClassID, ClassProperties> styles;
StyleProperties style;
std::unique_ptr<RasterizeProperties> rasterize;
std::shared_ptr<StyleLayerGroup> layers;