Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jgraph/drawio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/js/diagramly/DrawioFileSync.js')
-rw-r--r--src/main/webapp/js/diagramly/DrawioFileSync.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/webapp/js/diagramly/DrawioFileSync.js b/src/main/webapp/js/diagramly/DrawioFileSync.js
index b5126fff..4c0c2e9d 100644
--- a/src/main/webapp/js/diagramly/DrawioFileSync.js
+++ b/src/main/webapp/js/diagramly/DrawioFileSync.js
@@ -494,7 +494,7 @@ DrawioFileSync.prototype.updateOnlineState = function()
elt.style.verticalAlign = 'bottom';
elt.style.color = '#666';
elt.style.top = '6px';
- elt.style.right = (uiTheme != 'atlas') ? (urlParams['live-ui'] != '1' ?
+ elt.style.right = (uiTheme != 'atlas') ? (this.ui.darkModeElement != null ?
'90px' : '70px') : '50px';
elt.style.padding = '2px';
elt.style.fontSize = '8pt';