Skip to content

Commit

Permalink
fix ambiguity with operators in groovy (thanks to Gergely Papp)
Browse files Browse the repository at this point in the history
  • Loading branch information
fnatter committed Apr 9, 2016
1 parent 71dff41 commit 1762d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freeplane_plugin_script/scripts/installScriptAddOn.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ AddOnProperties parse() {

boolean confirmInstall(ScriptAddOnProperties addOn, ScriptAddOnProperties installedAddOn) {
def screenSize = Toolkit.getDefaultToolkit().getScreenSize();
def dialogPrefSize = new Dimension((int) screenSize.getWidth() * 3 / 5, (int) screenSize.getHeight() * 1 / 2);
def dialogPrefSize = new Dimension((int) (screenSize.getWidth() * 3 / 5), (int) (screenSize.getHeight() * 1 / 2));
def warning = textUtils.removeTranslateComment(textUtils.getText('addons.installer.warning'))
def addOnDetailsPanel = new AddOnDetailsPanel(addOn, warning)
addOnDetailsPanel.maxWidth = 500
Expand Down

0 comments on commit 1762d5b

Please sign in to comment.