Skip to content

Commit 1d5560b

Browse files
committed
rename function before generalization
1 parent 6f0b5d9 commit 1d5560b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/plots/cartesian/axes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3045,8 +3045,8 @@ axes.drawLabels = function(gd, ax, opts) {
30453045
if(isInside) {
30463046
thisText.style('opacity', 1); // visible
30473047

3048-
if(ax._hideOutOfRangeInsideTickLabels) {
3049-
ax._hideOutOfRangeInsideTickLabels();
3048+
if(ax._adjustTickLabelsOverflow) {
3049+
ax._adjustTickLabelsOverflow();
30503050
}
30513051
}
30523052
} else {
@@ -3057,7 +3057,7 @@ axes.drawLabels = function(gd, ax, opts) {
30573057
});
30583058
}
30593059

3060-
ax._hideOutOfRangeInsideTickLabels = function() {
3060+
ax._adjustTickLabelsOverflow = function() {
30613061
if(insideTicklabelposition(ax)) {
30623062
var rl = Lib.simpleMap(ax.range, ax.r2l);
30633063

src/plots/plots.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,14 +2076,14 @@ plots.doAutoMargin = function(gd) {
20762076
}
20772077
}
20782078

2079-
hideInsideTickLabels(gd);
2079+
refineTicks(gd);
20802080
};
20812081

2082-
function hideInsideTickLabels(gd) {
2082+
function refineTicks(gd) {
20832083
var axList = axisIDs.list(gd, '', true);
20842084

20852085
[
2086-
'_hideOutOfRangeInsideTickLabels',
2086+
'_adjustTickLabelsOverflow',
20872087
'_hideCounterAxisInsideTickLabels'
20882088
].forEach(function(k) {
20892089
for(var i = 0; i < axList.length; i++) {

0 commit comments

Comments
 (0)