[core] trigger repaint after placement is redone

fixes #3140

This also fixes a bug where placement could be redone with a stale
PlacementConfig after the tile first finishes loading.
This commit is contained in:
Ansis Brammanis
2016-01-21 15:38:37 -08:00
parent 9cfe64a122
commit 0101fc0c89
8 changed files with 39 additions and 42 deletions

View File

@@ -31,8 +31,8 @@ public:
bool parsePending(std::function<void(std::exception_ptr)> callback) override;
void redoPlacement(PlacementConfig config) override;
void redoPlacement();
void redoPlacement(PlacementConfig config, const std::function<void()>&) override;
void redoPlacement(const std::function<void()>&) override;
void cancel() override;