From 8d51e0d4879ef17e71c36637cfc12d18bb238d6f Mon Sep 17 00:00:00 2001 From: ahocevar Date: Fri, 16 Nov 2018 13:50:42 +0100 Subject: [PATCH] Remove resolved FIXMEs --- src/ol/render/canvas/Executor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/render/canvas/Executor.js b/src/ol/render/canvas/Executor.js index 00a72bbc8e..cb018d1e42 100644 --- a/src/ol/render/canvas/Executor.js +++ b/src/ol/render/canvas/Executor.js @@ -503,10 +503,10 @@ class CanvasExecutor { const label = this.getTextImage(text, textKey, fillKey, strokeKey); - const strokeState = this.strokeStates[strokeKey]; // FIXME: check if it is correct, was this.textStrokeState_; + const strokeState = this.strokeStates[strokeKey]; const pixelRatio = this.pixelRatio; const align = TEXT_ALIGN[textState.textAlign || defaultTextAlign]; - const baseline = TEXT_ALIGN[textState.textBaseline || defaultTextBaseline]; // FIXME: why I need a default now? + const baseline = TEXT_ALIGN[textState.textBaseline || defaultTextBaseline]; const strokeWidth = strokeState && strokeState.lineWidth ? strokeState.lineWidth : 0; const anchorX = align * label.width / pixelRatio + 2 * (0.5 - align) * strokeWidth;