Skip to content

Commit

Permalink
Patch fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelte Lagendijk committed Apr 14, 2017
1 parent e4dd53b commit 1d6bd2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "DynamicImage",
"version": "4.3.0",
"version": "4.3.1",
"description": "",
"license": "",
"author": "",
Expand Down
4 changes: 2 additions & 2 deletions src/DynamicImage/widget/DynamicImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ define([
factorh = this.height / origh;
factor = (factorw < factorh ? factorw : factorh);
if (factor < 1) {//check prevents upscaling
domStyle.add(this.imageNode, "width", (factor * origw) + "px");
domStyle.add(this.imageNode, "height", (factor * origh) + "px");
domStyle.set(this.imageNode, "width", (factor * origw) + "px");
domStyle.set(this.imageNode, "height", (factor * origh) + "px");
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/package.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://www.mendix.com/package/1.0/">
<clientModule name="DynamicImage" version="4.3.0" xmlns="http://www.mendix.com/clientModule/1.0/">
<clientModule name="DynamicImage" version="4.3.1" xmlns="http://www.mendix.com/clientModule/1.0/">
<widgetFiles>
<widgetFile path="DynamicImage/DynamicImage.xml"/>
<widgetFile path="DynamicImage/StaticImage.xml"/>
Expand Down
Binary file modified test/widgets/DynamicImage.mpk
Binary file not shown.

0 comments on commit 1d6bd2b

Please sign in to comment.