Skip to content

Commit 740a3b2

Browse files
committed
Tweak hotspot colors
1 parent fcbce5b commit 740a3b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/assets/scripts/annotation.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class Annotation extends Script {
6868
* @param {number} [borderWidth] - The border width in pixels
6969
* @returns {Texture} The hotspot texture
7070
*/
71-
static createHotspotTexture(app, alpha = 0.8, size = 64, fillColor = '#202020', strokeColor = '#a0a0a0', borderWidth = 6) {
71+
static createHotspotTexture(app, alpha = 0.8, size = 64, fillColor = '#000000', strokeColor = '#939393', borderWidth = 6) {
7272
// Create canvas for hotspot texture
7373
const canvas = document.createElement('canvas');
7474
canvas.width = size;

0 commit comments

Comments
 (0)