Skip to content

Commit e41f30b

Browse files
committed
Make mask visibility persistent
1 parent a794eef commit e41f30b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

iris/static/javascripts/views.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,9 @@ class RGBLayer extends CanvasLayer{
419419
ctx.drawImage(
420420
image, 0, 0, image.width, image.height
421421
);
422+
423+
// Set mask visibility based on current vars.show_mask
424+
show_mask(vars.show_mask);
422425
}
423426
}
424427

0 commit comments

Comments
 (0)