summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle/src/View/Map.elm')
-rw-r--r--src/battle/src/View/Map.elm8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/battle/src/View/Map.elm b/src/battle/src/View/Map.elm
index 12e9474..0e9a7fa 100644
--- a/src/battle/src/View/Map.elm
+++ b/src/battle/src/View/Map.elm
@@ -38,7 +38,7 @@ get_tiles_html map =
(
"width",
(
- (toString
+ (String.fromInt
(
(Struct.Map.get_width map)
* Constants.UI.tile_size
@@ -50,7 +50,7 @@ get_tiles_html map =
(
"height",
(
- (toString
+ (String.fromInt
(
(Struct.Map.get_height map)
* Constants.UI.tile_size
@@ -135,7 +135,9 @@ get_html model =
(
"scale("
++
- (toString (Struct.UI.get_zoom_level model.ui))
+ (String.fromFloat
+ (Struct.UI.get_zoom_level model.ui)
+ )
++ ")"
)
)