Skip to content

Commit b4f1824

Browse files
committed
build
1 parent 0841bce commit b4f1824

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build/jsroot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94802,9 +94802,9 @@ class TPavePainter extends ObjectPainter {
9480294802
});
9480394803
const addStatOpt = (pos, name) => {
9480494804
let sopt = (pos < 10) ? pave.fOptStat : pave.fOptFit;
94805-
sopt = parseInt(parseInt(sopt) / parseInt(Math.pow(10, pos % 10))) % 10;
94805+
sopt = Math.floor(parseInt(sopt) / parseInt(Math.pow(10, pos % 10))) % 10;
9480694806
menu.addchk(sopt, name, sopt * 100 + pos, arg => {
94807-
const oldopt = parseInt(arg / 100);
94807+
const oldopt = Math.floor(arg / 100);
9480894808
let newopt = (arg % 100 < 10) ? pave.fOptStat : pave.fOptFit;
9480994809
newopt -= (oldopt > 0 ? oldopt : -1) * parseInt(Math.pow(10, arg % 10));
9481094810
if (arg % 100 < 10) {

0 commit comments

Comments
 (0)