frames to html canvas fix

export zoom config save fix
This commit is contained in:
Jindra Petřík
2014-09-27 16:12:48 +02:00
parent 8bd23069a3
commit 5ed73223a5
2 changed files with 2 additions and 2 deletions

View File

@@ -2280,7 +2280,7 @@ public final class SWF implements TreeItem, Timelined {
sb.append("\tswitch(frame){\r\n");
int maxDepth = timeline.getMaxDepth();
Stack<Integer> clipDepths = new Stack<>();
for (int frame = 0; frame < frames.size(); frame++) {
for (int frame:frames) {
sb.append("\t\tcase ").append(frame).append(":\r\n");
Frame frameObj = timeline.frames.get(frame);
for (int i = 1; i <= maxDepth + 1; i++) {

View File

@@ -142,7 +142,7 @@ public class ExportDialog extends AppDialog {
}
cfg += key;
}
Configuration.lastSelectedExportZoom.set(Double.parseDouble(zoomTextField.getText()));
Configuration.lastSelectedExportZoom.set(Double.parseDouble(zoomTextField.getText())/100);
Configuration.lastSelectedExportFormats.set(cfg);
}