Skip to content

Commit 9c304c5

Browse files
committed
A little more work on usinng CSS variables
1 parent fc79079 commit 9c304c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

d3_resources/SpectrumChartD3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9506,7 +9506,7 @@ SpectrumChartD3.prototype.handleMouseMoveRecalibration = function() {
95069506
const txt = self.options.txt.recalFromTo.replace("{1}",String(self.xScale.invert(start).toFixed(2))).replace("{2}",self.xScale.invert(now).toFixed(2) );
95079507

95089508
if (recalibrationText.empty()) { /* ctrl-option-drag text to say where recalibration ranges are */
9509-
const txtcolor = self.getElementLineColor('.xaxistitle');
9509+
const txtcolor = window.getComputedStyle(document.documentElement).getPropertyValue('--d3spec-text-color');
95109510
recalibrationText = self.vis.append("text")
95119511
.attr("id", "recalibrationText")
95129512
.attr("class", "mouseLineText")

src/Filesystem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ vector<std::string> recursive_ls_internal_windows( const std::string &sourcedir,
909909
}while( FindNextFileW( hFind, &fdFile) ); //Find the next file.
910910

911911
FindClose(hFind);
912-
912+
913913
return files;
914914
}
915915
#endif //#ifdef _WIN32

0 commit comments

Comments
 (0)