Fixed FLA export - allow float frame rate

This commit is contained in:
Jindra Petřík
2023-11-05 15:15:06 +01:00
parent e2916564a5
commit 632f2b4643
2 changed files with 2 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ All notable changes to this project will be documented in this file.
- FLA export - DefineEditText - allow negative letterspacing
- [#2112] GFX - new image types in DefineExternalImage
- [#1193] FLA export - DefineEditText position and size
- FLA export - allow float frame rate
### Changed
- Basic tag info panel always visible even when nothing to display (to avoid flickering)

View File

@@ -4568,7 +4568,7 @@ public class XFLConverter {
"playOptionsPlayFrameActions", "false",
"autoSaveHasPrompted", "true",
"backgroundColor", backgroundColor,
"frameRate", Integer.toString((int) swf.frameRate) // todo: is the cast to int needed?
"frameRate", doubleToString(swf.frameRate)
});
if (Double.compare(width, 550) != 0) {