Skip to content

Commit

Permalink
A little more work on usinng CSS variables
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohns committed Jul 3, 2024
1 parent fc79079 commit 9c304c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion d3_resources/SpectrumChartD3.js
Original file line number Diff line number Diff line change
Expand Up @@ -9506,7 +9506,7 @@ SpectrumChartD3.prototype.handleMouseMoveRecalibration = function() {
const txt = self.options.txt.recalFromTo.replace("{1}",String(self.xScale.invert(start).toFixed(2))).replace("{2}",self.xScale.invert(now).toFixed(2) );

if (recalibrationText.empty()) { /* ctrl-option-drag text to say where recalibration ranges are */
const txtcolor = self.getElementLineColor('.xaxistitle');
const txtcolor = window.getComputedStyle(document.documentElement).getPropertyValue('--d3spec-text-color');
recalibrationText = self.vis.append("text")
.attr("id", "recalibrationText")
.attr("class", "mouseLineText")
Expand Down
2 changes: 1 addition & 1 deletion src/Filesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ vector<std::string> recursive_ls_internal_windows( const std::string &sourcedir,
}while( FindNextFileW( hFind, &fdFile) ); //Find the next file.

FindClose(hFind);

return files;
}
#endif //#ifdef _WIN32
Expand Down

0 comments on commit 9c304c5

Please sign in to comment.