Skip to content

Commit

Permalink
fill in marks
Browse files Browse the repository at this point in the history
  • Loading branch information
birm authored Apr 24, 2024
1 parent 78eb7e7 commit 39f340b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/DrawHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ caDrawHelper.prototype.drawPolygon = function(ctx, paths){
// close path and set style
path.closePath()
if(ctx.isFill ==undefined || ctx.isFill){
// path.fill(ctx);
path.stroke(ctx);
path.fill(ctx);
//path.stroke(ctx);
}else{
path.stroke(ctx);
}
Expand Down Expand Up @@ -348,4 +348,4 @@ caDrawHelper.prototype.clearCanvas = function(canvas){
}

var DrawHelper = new caDrawHelper();
//OpenSeadragon.DrawHelper = DrawHelper;
//OpenSeadragon.DrawHelper = DrawHelper;

0 comments on commit 39f340b

Please sign in to comment.