From e5a4c737716e96abafa36055b380dc54f51fa74f Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Fri, 11 Dec 2020 07:55:14 -0500 Subject: [PATCH] help simplyprint debug --- src/moto/space.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/moto/space.js b/src/moto/space.js index 0283a174..32bbb7d2 100644 --- a/src/moto/space.js +++ b/src/moto/space.js @@ -281,12 +281,12 @@ if (options.scale) fontScale = options.scale; if (options.axisColor) axisColor = options.axisColor; if (options.rulerColor) rulerColor = options.rulerColor; - setRulers(); + try { setRulers() } catch (error) { console.log('setFont', {options, error})}; } function setAxes(bool) { axesOn = bool; - setRulers(); + try { setRulers() } catch (error) { console.log('setAxes', {options, error})}; } function setVolume(bool) {