From 740a3b24c8ab617a950a34f32e8b7d4c05b855c5 Mon Sep 17 00:00:00 2001 From: Will Eastcott Date: Mon, 20 Jan 2025 12:39:49 +0000 Subject: [PATCH] Tweak hotspot colors --- examples/assets/scripts/annotation.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/assets/scripts/annotation.mjs b/examples/assets/scripts/annotation.mjs index adc68ba..eccd087 100644 --- a/examples/assets/scripts/annotation.mjs +++ b/examples/assets/scripts/annotation.mjs @@ -68,7 +68,7 @@ export class Annotation extends Script { * @param {number} [borderWidth] - The border width in pixels * @returns {Texture} The hotspot texture */ - static createHotspotTexture(app, alpha = 0.8, size = 64, fillColor = '#202020', strokeColor = '#a0a0a0', borderWidth = 6) { + static createHotspotTexture(app, alpha = 0.8, size = 64, fillColor = '#000000', strokeColor = '#939393', borderWidth = 6) { // Create canvas for hotspot texture const canvas = document.createElement('canvas'); canvas.width = size;