diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2016-11-10 15:02:13 +0100 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2016-11-11 20:18:16 +0100 |
commit | 39b0bc0a402248e29791f93aeab5a6234bf80862 (patch) | |
tree | 5070bd07901a366801a0bc0d575251a4a01c3f4c /test/src | |
parent | 517db640ab718929aba0787c985ff007a81f30d9 (diff) | |
download | qtlocation-mapboxgl-39b0bc0a402248e29791f93aeab5a6234bf80862.tar.gz |
[core] symbol layer - recalculate style on icon/text size changes
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/mbgl/test/stub_layer_observer.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/src/mbgl/test/stub_layer_observer.hpp b/test/src/mbgl/test/stub_layer_observer.hpp index f346080b10..07797ce921 100644 --- a/test/src/mbgl/test/stub_layer_observer.hpp +++ b/test/src/mbgl/test/stub_layer_observer.hpp @@ -22,12 +22,12 @@ public: if (layerPaintPropertyChanged) layerPaintPropertyChanged(layer); } - void onLayerLayoutPropertyChanged(Layer& layer) override { - if (layerLayoutPropertyChanged) layerLayoutPropertyChanged(layer); + void onLayerLayoutPropertyChanged(Layer& layer, const char * property) override { + if (layerLayoutPropertyChanged) layerLayoutPropertyChanged(layer, property); } std::function<void (Layer&)> layerFilterChanged; std::function<void (Layer&)> layerVisibilityChanged; std::function<void (Layer&)> layerPaintPropertyChanged; - std::function<void (Layer&)> layerLayoutPropertyChanged; + std::function<void (Layer&, const char *)> layerLayoutPropertyChanged; }; |