set radix

This commit is contained in:
Mutasem 2021-10-19 10:18:22 +02:00
parent 82d1afcd73
commit ae831a3ade
2 changed files with 3 additions and 3 deletions

View file

@ -67,5 +67,5 @@ if (!window.localStorage.getItem('JSPLUMB_FLOWCHART_STUB')) {
window.localStorage.setItem('JSPLUMB_FLOWCHART_STUB', '50');
}
// @ts-ignore
const _JSPLUMB_FLOWCHART_STUB = parseInt(window.localStorage.getItem('JSPLUMB_FLOWCHART_STUB'));
const _JSPLUMB_FLOWCHART_STUB = parseInt(window.localStorage.getItem('JSPLUMB_FLOWCHART_STUB'), 10);
export const JSPLUMB_FLOWCHART_STUB = _JSPLUMB_FLOWCHART_STUB;

View file

@ -1299,7 +1299,7 @@ export default mixins(
window.localStorage.setItem('CURVINESS', '150');
}
// @ts-ignore
const _CURVINESS = parseInt(window.localStorage.getItem('CURVINESS'));
const _CURVINESS = parseInt(window.localStorage.getItem('CURVINESS'), 10);
if (!window.localStorage.getItem('OUTLINE_STROKE_COLOR')) {
window.localStorage.setItem('OUTLINE_STROKE_COLOR', 'transparent');
@ -1311,7 +1311,7 @@ export default mixins(
window.localStorage.setItem('OUTLINE_STROKE_WIDTH', '12');
}
// @ts-ignore
const _OUTLINE_STROKE_WIDTH = parseInt(window.localStorage.getItem('OUTLINE_STROKE_WIDTH'));
const _OUTLINE_STROKE_WIDTH = parseInt(window.localStorage.getItem('OUTLINE_STROKE_WIDTH'), 10);
if (!window.localStorage.getItem('ALWAYS_RESPECT_STUB')) {
window.localStorage.setItem('ALWAYS_RESPECT_STUB', 'false');