Skip to content

Commit 60fe3d2

Browse files
committed
fixup opacity
1 parent 2870634 commit 60fe3d2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/plots/cartesian/axes.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2868,7 +2868,7 @@ axes.drawGrid = function(gd, ax, opts) {
28682868
.attr('d', opts.path)
28692869
.call(Color.stroke, ax.gridcolor || '#ddd')
28702870
.style('stroke-width', ax._gw + 'px')
2871-
.style({ opacity: 100 }); // ensure visible
2871+
.style({ opacity: 1 }); // ensure visible
28722872

28732873

28742874
if(typeof opts.path === 'function') grid.attr('d', opts.path);
@@ -3033,8 +3033,7 @@ axes.drawLabels = function(gd, ax, opts) {
30333033
});
30343034

30353035
if(isInside) {
3036-
// ensure visible
3037-
thisText.style({ opacity: 100 });
3036+
thisText.style({ opacity: 1 }); // ensure visible
30383037

30393038
if(ax._hideOutOfRangeInsideTickLabels) {
30403039
ax._hideOutOfRangeInsideTickLabels();

0 commit comments

Comments
 (0)