From a0e4c079ba11bdbabd866d144eef78c9327bd2b8 Mon Sep 17 00:00:00 2001 From: Vanco Date: Sun, 1 May 2022 08:23:18 +0800 Subject: [PATCH] Release 2.1.8 --- CHANGELOG.md | 1 + README.md | 2 +- gradle.properties | 2 +- .../intellij/sequencer/diagram/app/actions/ExportAction.java | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64a37e3..89b429a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # SequenceDiagram Changelog ## [Unreleased] +## [2.1.8] ### Fixed - Unable to export large images #122, #119 diff --git a/README.md b/README.md index 0da398c..44dc9bc 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Please try to experience it and find what happen. Have fun! ## Version History -**Current Version 2.1.7** +**Current Version 2.1.8** versions: [Changelog](CHANGELOG.md) diff --git a/gradle.properties b/gradle.properties index 51fd595..613e7a2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ pluginGroup = vanstudio pluginName = SequenceDiagram -pluginVersion = 2.1.7 +pluginVersion = 2.1.8 # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. diff --git a/src/main/java/org/intellij/sequencer/diagram/app/actions/ExportAction.java b/src/main/java/org/intellij/sequencer/diagram/app/actions/ExportAction.java index 756184a..c726168 100644 --- a/src/main/java/org/intellij/sequencer/diagram/app/actions/ExportAction.java +++ b/src/main/java/org/intellij/sequencer/diagram/app/actions/ExportAction.java @@ -10,7 +10,7 @@ public class ExportAction extends SequenceAction { - private Display _display = null; + private final Display _display; public ExportAction(Display display) { super("ExportAction", true); @@ -30,7 +30,7 @@ public void actionPerformed(ActionEvent e) { private void export(File file) { try { - _display.saveImageToFile(file); + _display.saveImageToSvgFile(file); } catch(IOException e) { e.printStackTrace(); }