Skip to content

Commit

Permalink
7.7.1 release
Browse files Browse the repository at this point in the history
Former-commit-id: 0b887b5
  • Loading branch information
alderg committed Nov 16, 2017
1 parent 9174e8d commit 981cd39
Show file tree
Hide file tree
Showing 13 changed files with 215 additions and 191 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
16-NOV-2017: 7.7.1

- Adds switches for SVG shadow
- Fixes tags dialog size
- Fixes action states

15-NOV-2017: 7.7.0

- Fixes alt+mousewheel in lightbox mode
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7.0
7.7.1
2 changes: 1 addition & 1 deletion war/cache.manifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
CACHE MANIFEST

# THIS FILE WAS GENERATED. DO NOT MODIFY!
# 11/15/2017 08:07 PM
# 11/16/2017 05:29 PM

app.html
index.html?offline=1
Expand Down
78 changes: 39 additions & 39 deletions war/js/app.min.js

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions war/js/atlas-viewer.min.js

Large diffs are not rendered by default.

124 changes: 62 additions & 62 deletions war/js/atlas.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion war/js/diagramly/Dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5781,7 +5781,7 @@ var TagsWindow = function(editorUi, x, y, w, h)
searchInput.setAttribute('placeholder', mxResources.get('allTags'));
searchInput.setAttribute('type', 'text');
searchInput.style.marginTop = '4px';
searchInput.style.width = '240px';
searchInput.style.width = '260px';
searchInput.style.fontSize = '12px';
searchInput.style.borderRadius = '4px';
searchInput.style.padding = '6px';
Expand Down
30 changes: 25 additions & 5 deletions war/js/diagramly/Editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,27 @@
* Specifies if the page should be visible for new files. Default is true.
*/
Graph.prototype.shadowId = 'dropShadow';

/**
* Properties for the SVG shadow effect.
*/
Graph.prototype.svgShadowColor = '#3D4574';

/**
* Properties for the SVG shadow effect.
*/
Graph.prototype.svgShadowOpacity = '0.4';

/**
* Properties for the SVG shadow effect.
*/
Graph.prototype.svgShadowBlur = '1.7';

/**
* Properties for the SVG shadow effect.
*/
Graph.prototype.svgShadowSize = '3';

/**
* Enables move of bends/segments without selecting.
*/
Expand Down Expand Up @@ -1262,22 +1282,22 @@
var blur = (svgDoc.createElementNS != null) ?
svgDoc.createElementNS(mxConstants.NS_SVG, 'feGaussianBlur') : svgDoc.createElement('feGaussianBlur');
blur.setAttribute('in', 'SourceAlpha');
blur.setAttribute('stdDeviation', '1.7');
blur.setAttribute('stdDeviation', this.svgShadowBlur);
blur.setAttribute('result', 'blur');
filter.appendChild(blur);

var offset = (svgDoc.createElementNS != null) ?
svgDoc.createElementNS(mxConstants.NS_SVG, 'feOffset') : svgDoc.createElement('feOffset');
offset.setAttribute('in', 'blur');
offset.setAttribute('dx', '3');
offset.setAttribute('dy', '3');
offset.setAttribute('dx', this.svgShadowSize);
offset.setAttribute('dy', this.svgShadowSize);
offset.setAttribute('result', 'offsetBlur');
filter.appendChild(offset);

var flood = (svgDoc.createElementNS != null) ?
svgDoc.createElementNS(mxConstants.NS_SVG, 'feFlood') : svgDoc.createElement('feFlood');
flood.setAttribute('flood-color', '#3D4574');
flood.setAttribute('flood-opacity', '0.4');
flood.setAttribute('flood-color', this.svgShadowColor);
flood.setAttribute('flood-opacity', this.svgShadowOpacity);
flood.setAttribute('result', 'offsetColor');
filter.appendChild(flood);

Expand Down
6 changes: 2 additions & 4 deletions war/js/diagramly/EditorUi.js
Original file line number Diff line number Diff line change
Expand Up @@ -9721,11 +9721,9 @@
this.actions.get('createRevision').setEnabled(active);
this.actions.get('moveToFolder').setEnabled(file != null);
this.actions.get('makeCopy').setEnabled(file != null && !file.isRestricted());
this.actions.get('editDiagram').setEnabled((urlParams['embed'] == '1' &&
this.editor.graph.isEnabled()) || (file != null && !file.isRestricted()));
this.actions.get('editDiagram').setEnabled(active && (file == null || !file.isRestricted()));
this.actions.get('publishLink').setEnabled(file != null && !file.isRestricted());
this.actions.get('tags').setEnabled((urlParams['embed'] == '1' &&
this.editor.graph.isEnabled()) || (file != null && !file.isRestricted()));
this.actions.get('tags').setEnabled(active && (file == null || !file.isRestricted()));
this.actions.get('close').setEnabled(file != null);
this.menus.get('publish').setEnabled(file != null && !file.isRestricted());

Expand Down
4 changes: 2 additions & 2 deletions war/js/diagramly/Menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@
{
if (this.tagsWindow == null)
{
this.tagsWindow = new TagsWindow(editorUi, document.body.offsetWidth - 380, 230, 280, 120);
this.tagsWindow = new TagsWindow(editorUi, document.body.offsetWidth - 380, 230, 300, 120);
this.tagsWindow.window.addListener('show', function()
{
editorUi.fireEvent(new mxEventObject('tags'));
Expand Down Expand Up @@ -1442,7 +1442,7 @@
this.addMenuItems(menu, ['-', 'exportXml'], parent);

// Disables menu item for all external hosted integrations
if (mxClient.IS_CHROMEAPP || EditorUi.isElectronApp ||/.*\.draw\.io$/.test(window.location.hostname))
if (mxClient.IS_CHROMEAPP || EditorUi.isElectronApp || /.*\.draw\.io$/.test(window.location.hostname))
{
menu.addItem(mxResources.get('url') + '...', null, mxUtils.bind(this, function()
{
Expand Down
2 changes: 1 addition & 1 deletion war/js/embed-static.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion war/js/reader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 981cd39

Please sign in to comment.