Make view.setHint() trigger change

This commit is contained in:
Tim Schaub committed 2016-11-14 10:18:39 -07:00
1 parent 15c4dadbaf
commit 1ae6921e53
2 files changed
+30

No files matched your search

+1
View File
@@ -826,6 +826,7 @@ ol.View.prototype.setHint = function(hint, delta) {
this.hints_[hint] += delta;
ol.DEBUG && console.assert(this.hints_[hint] >= 0,
'Hint at %s must be positive, was %s', hint, this.hints_[hint]);
this.changed();
return this.hints_[hint];
};