From 0fdf426a9351b726305f68a2cef5fec40b7d694e Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 3 Mar 2023 20:06:24 +0000 Subject: [PATCH] Increase workspace size to 8000x8000 --- .../@node-red/editor-client/src/js/ui/view-navigator.js | 6 +++--- .../node_modules/@node-red/editor-client/src/js/ui/view.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view-navigator.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view-navigator.js index a3001e474..6450d45bd 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view-navigator.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view-navigator.js @@ -17,9 +17,9 @@ RED.view.navigator = (function() { - var nav_scale = 25; - var nav_width = 5000/nav_scale; - var nav_height = 5000/nav_scale; + var nav_scale = 50; + var nav_width = 8000/nav_scale; + var nav_height = 8000/nav_scale; var navContainer; var navBox; diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index d589788b0..dbde88a9a 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -30,8 +30,8 @@ */ RED.view = (function() { - var space_width = 5000, - space_height = 5000, + var space_width = 8000, + space_height = 8000, lineCurveScale = 0.75, scaleFactor = 1, node_width = 100,