From a8e0e7acf982555b2fad5c0ae0e9634a37ba11dc Mon Sep 17 00:00:00 2001 From: Birm Date: Thu, 16 Jan 2025 10:58:23 -0500 Subject: [PATCH] edit points, default style --- core/extension/openseadragon-overlays-manage.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/extension/openseadragon-overlays-manage.js b/core/extension/openseadragon-overlays-manage.js index 1197502a..48162a33 100644 --- a/core/extension/openseadragon-overlays-manage.js +++ b/core/extension/openseadragon-overlays-manage.js @@ -368,6 +368,10 @@ drawEditPoints: function(ctx, pathData, style) { if (!pathData) return; + if (style == undefined || style == null){ + style = {"color": "#FF6296"}; + } + this.editPointPathList = []; pathData = pathData.geometry.coordinates; ctx.lineJoin = 'round';