Skip to content

Commit 257abfc

Browse files
committed
use display:none instead of opacity:0 to hide elements
1 parent 8631bcd commit 257abfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plots/cartesian/axes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ var ONESEC = constants.ONESEC;
3434
var MINUS_SIGN = constants.MINUS_SIGN;
3535
var BADNUM = constants.BADNUM;
3636

37-
var VISIBLE = { opacity: 1 };
38-
var HIDDEN = { opacity: 0 };
37+
var VISIBLE = { display: null };
38+
var HIDDEN = { display: 'none' };
3939

4040
var ZERO_PATH = { K: 'zeroline' };
4141
var GRID_PATH = { K: 'gridline', L: 'path' };

0 commit comments

Comments
 (0)