Skip to content

Commit

Permalink
Tweak hotspot colors
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed Jan 20, 2025
1 parent fcbce5b commit 740a3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/assets/scripts/annotation.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 740a3b2

Please sign in to comment.