From 61454203f5203ad87aa324209e452c1e7a14485b Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Thu, 12 Oct 2023 14:25:39 +0100 Subject: [PATCH] Remove duplicate applyScreenPlan Apdated helper text --- app/styles/base.css | 2 +- app/ui.js | 3 +-- vnc.html | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/styles/base.css b/app/styles/base.css index b43fb54c..efd35ce9 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -1271,7 +1271,7 @@ a:visited { } #noVNC_displays .canvas-text { font-size: 12px; - padding: 0 10px; + padding: 0 35px 0 10px; opacity: 0.6; line-height: 1.4; margin-bottom: 15px; diff --git a/app/ui.js b/app/ui.js index 50aad392..d320be6a 100644 --- a/app/ui.js +++ b/app/ui.js @@ -2785,13 +2785,12 @@ const UI = { // Get the current screen plan // When a new display is added, it is defaulted to be placed to the far right relative to existing displays and to the top let screenPlan = UI.rfb.getScreenPlan(); - console.log(e) // Now make adjustments to the screen plan, this is just an example // screenPlan.screens[1].y = 0; // Finally apply the screen plan - UI.rfb.applyScreenPlan(screenPlan); + // UI.rfb.applyScreenPlan(screenPlan); // applyScreenPlan is triggered in UI.updateMonitors UI.updateMonitors(screenPlan) }, diff --git a/vnc.html b/vnc.html index 024f4471..5d5599e8 100644 --- a/vnc.html +++ b/vnc.html @@ -544,7 +544,7 @@
Arrange Displays
-
Drag and drop to arrange displays
+
Drag and drop to arrange displays, new monitors are added to the right hand side of the previous monitor.