[core] mutate style on annotation mutations immediately
This commit is contained in:
committed by
Ivo van Dongen
parent
8ae7010546
commit
e35cbbae55
@@ -3,6 +3,7 @@
|
||||
#include <mbgl/test/stub_style_observer.hpp>
|
||||
#include <mbgl/test/stub_render_source_observer.hpp>
|
||||
|
||||
#include <mbgl/style/style.hpp>
|
||||
#include <mbgl/style/source_impl.hpp>
|
||||
#include <mbgl/style/sources/raster_source.hpp>
|
||||
#include <mbgl/style/sources/vector_source.hpp>
|
||||
@@ -47,7 +48,8 @@ public:
|
||||
Transform transform;
|
||||
TransformState transformState;
|
||||
ThreadPool threadPool { 1 };
|
||||
AnnotationManager annotationManager;
|
||||
Style style { loop, fileSource, 1 };
|
||||
AnnotationManager annotationManager { style };
|
||||
ImageManager imageManager;
|
||||
GlyphManager glyphManager { fileSource };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user