We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0841bce commit b4f1824Copy full SHA for b4f1824
1 file changed
build/jsroot.js
@@ -94802,9 +94802,9 @@ class TPavePainter extends ObjectPainter {
94802
});
94803
const addStatOpt = (pos, name) => {
94804
let sopt = (pos < 10) ? pave.fOptStat : pave.fOptFit;
94805
- sopt = parseInt(parseInt(sopt) / parseInt(Math.pow(10, pos % 10))) % 10;
+ sopt = Math.floor(parseInt(sopt) / parseInt(Math.pow(10, pos % 10))) % 10;
94806
menu.addchk(sopt, name, sopt * 100 + pos, arg => {
94807
- const oldopt = parseInt(arg / 100);
+ const oldopt = Math.floor(arg / 100);
94808
let newopt = (arg % 100 < 10) ? pave.fOptStat : pave.fOptFit;
94809
newopt -= (oldopt > 0 ? oldopt : -1) * parseInt(Math.pow(10, arg % 10));
94810
if (arg % 100 < 10) {
0 commit comments