Skip to content

Commit

Permalink
Fix Dot helper initial visibility state
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Mar 11, 2024
1 parent bc57aaf commit 617a0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/lib/html/Dot.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Dot {
this._dotClickable = document.createElement('div');
this._dotClickable.className += this._dotClickable.className ? ' viewer-ruler-dot-clickable' : 'viewer-ruler-dot-clickable';

this._visible = true;
this._visible = !!cfg.visible;
this._culled = false;

var dot = this._dot;
Expand Down

0 comments on commit 617a0a0

Please sign in to comment.