Skip to content

Commit

Permalink
default color/style for drawOnHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Jan 16, 2025
1 parent e48dffb commit add7303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/extension/openseadragon-overlays-manage.js
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,9 @@
* @param {Object} style the style of drawing
*/
drawOnHover:function(ctx,div,path,style){
if (style == undefined || style == null){
style = {"color": "#FF6296"};
}
div.style.cursor = 'point';
ctx.lineJoin = 'round';
ctx.lineCap = 'round';
Expand Down

0 comments on commit add7303

Please sign in to comment.