|
@@ -669,7 +669,7 @@ Sidebar.prototype.addSearchPalette = function(expand)
|
|
|
button.style.marginTop = '4px';
|
|
|
button.style.marginBottom = '8px';
|
|
|
center.style.paddingTop = '4px';
|
|
|
- center.style.paddingBottom = '8px';
|
|
|
+ center.style.paddingBottom = '4px';
|
|
|
|
|
|
center.appendChild(button);
|
|
|
div.appendChild(center);
|
|
@@ -957,6 +957,9 @@ Sidebar.prototype.addGeneralPalette = function(expand)
|
|
|
this.createVertexTemplateEntry('shape=card;whiteSpace=wrap;html=1;', 80, 100, '', 'Card'),
|
|
|
this.createVertexTemplateEntry('shape=callout;whiteSpace=wrap;html=1;perimeter=calloutPerimeter;', 120, 80, '', 'Callout', null, null, 'bubble chat thought speech message'),
|
|
|
this.createVertexTemplateEntry('shape=umlActor;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;html=1;outlineConnect=0;', 30, 60, 'Actor', 'Actor', false, null, 'user person human stickman'),
|
|
|
+ this.createVertexTemplateEntry('shape=xor;whiteSpace=wrap;html=1;', 60, 80, '', 'Or', null, null, 'logic or'),
|
|
|
+ this.createVertexTemplateEntry('shape=or;whiteSpace=wrap;html=1;', 60, 80, '', 'And', null, null, 'logic and'),
|
|
|
+ this.createVertexTemplateEntry('shape=dataStorage;whiteSpace=wrap;html=1;', 100, 80, '', 'Data Storage'),
|
|
|
this.addEntry('curve', mxUtils.bind(this, function()
|
|
|
{
|
|
|
var cell = new mxCell('', new mxGeometry(0, 0, 50, 50), 'curved=1;endArrow=classic;html=1;');
|
|
@@ -1122,9 +1125,6 @@ Sidebar.prototype.createAdvancedShapes = function()
|
|
|
field.vertex = true;
|
|
|
|
|
|
return [
|
|
|
- this.createVertexTemplateEntry('shape=xor;whiteSpace=wrap;html=1;', 60, 80, '', 'Or', null, null, 'logic or'),
|
|
|
- this.createVertexTemplateEntry('shape=or;whiteSpace=wrap;html=1;', 60, 80, '', 'And', null, null, 'logic and'),
|
|
|
- this.createVertexTemplateEntry('shape=dataStorage;whiteSpace=wrap;html=1;', 100, 80, '', 'Data Storage'),
|
|
|
this.createVertexTemplateEntry('shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;', 80, 80, '', 'Tape Data'),
|
|
|
this.createVertexTemplateEntry('shape=manualInput;whiteSpace=wrap;html=1;', 80, 80, '', 'Manual Input'),
|
|
|
this.createVertexTemplateEntry('shape=loopLimit;whiteSpace=wrap;html=1;', 100, 80, '', 'Loop Limit'),
|
|
@@ -3419,7 +3419,7 @@ Sidebar.prototype.addFoldingHandler = function(title, content, funct)
|
|
|
mxClient.NO_FO = Editor.prototype.originalNoForeignObject;
|
|
|
funct(content, title);
|
|
|
mxClient.NO_FO = fo;
|
|
|
- }, 0);
|
|
|
+ }, (mxClient.IS_FF) ? 20 : 0);
|
|
|
}
|
|
|
else
|
|
|
{
|