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/App.js')
-rw-r--r--src/main/webapp/js/diagramly/App.js13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/main/webapp/js/diagramly/App.js b/src/main/webapp/js/diagramly/App.js
index bd674aba..e01acf09 100644
--- a/src/main/webapp/js/diagramly/App.js
+++ b/src/main/webapp/js/diagramly/App.js
@@ -5724,8 +5724,8 @@ App.prototype.updateButtonContainer = function()
if (this.buttonContainer != null)
{
var file = this.getCurrentFile();
-
- if (urlParams['embed'] == '1')
+
+ if (urlParams['embed'] == '1' && Editor.currentTheme != 'simple')
{
if (urlParams['sketch'] != '1')
{
@@ -5736,7 +5736,8 @@ App.prototype.updateButtonContainer = function()
}
// Comments
- if (this.commentsSupported() && urlParams['sketch'] != '1')
+ if (this.commentsSupported() && urlParams['sketch'] != '1' &&
+ Editor.currentTheme != 'simple')
{
if (this.commentButton == null)
{
@@ -7157,8 +7158,12 @@ App.prototype.updateUserElementStyle = function()
elt.style.padding = '0px';
elt.style.height = '24px';
elt.style.width = '24px';
- elt.style.top = '3px';
elt.style.right = '';
+
+ if (Editor.currentTheme == 'min')
+ {
+ elt.style.top = '3px';
+ }
}
else
{