Merge pull request #4242 from marcjansen/fix-drawtext-regression
Fix a drawText regression introduced with 31a68e2
This commit is contained in:
committed by
Andreas Hocevar
parent
c9c845394f
commit
313bff7aff
@@ -1560,10 +1560,8 @@ goog.inherits(ol.render.canvas.TextReplay, ol.render.canvas.Replay);
|
||||
*/
|
||||
ol.render.canvas.TextReplay.prototype.drawText =
|
||||
function(flatCoordinates, offset, end, stride, geometry, feature) {
|
||||
if (this.text_ === '' ||
|
||||
!this.textState_ ||
|
||||
(this.textFillState_ &&
|
||||
!this.textStrokeState_)) {
|
||||
if (this.text_ === '' || !this.textState_ ||
|
||||
(!this.textFillState_ && !this.textStrokeState_)) {
|
||||
return;
|
||||
}
|
||||
if (this.textFillState_) {
|
||||
|
||||
Reference in New Issue
Block a user