From 50a2fde3824448f821c7ea017a16d59d47b177ae Mon Sep 17 00:00:00 2001
From: Laura <L.Spilling@web.de>
Date: Sat, 11 Jul 2020 16:56:17 +0200
Subject: [PATCH] fixed Enemy Icon

---
 out/main.js        | 14 +++++++-------
 src/DungeonMap.elm | 14 +++++++-------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/out/main.js b/out/main.js
index 93c75e1..d174dc7 100644
--- a/out/main.js
+++ b/out/main.js
@@ -12360,22 +12360,22 @@ var $author$project$DungeonMap$placeIcon = F5(
 						$elm$svg$Svg$image,
 						_List_fromArray(
 							[
-								$elm$svg$Svg$Attributes$width('30'),
-								$elm$svg$Svg$Attributes$height('30'),
+								$elm$svg$Svg$Attributes$width('50'),
+								$elm$svg$Svg$Attributes$height('50'),
 								$elm$svg$Svg$Attributes$x(
 								$elm$core$String$fromFloat(
 									A2(
 										$elm$core$Maybe$withDefault,
 										0,
-										$elm$core$String$toFloat(x)) - 17.5)),
+										$elm$core$String$toFloat(x)) - 25.5)),
 								$elm$svg$Svg$Attributes$y(
 								$elm$core$String$fromFloat(
 									A2(
 										$elm$core$Maybe$withDefault,
 										0,
-										$elm$core$String$toFloat(y)) - 17.5)),
+										$elm$core$String$toFloat(y)) - 24.5)),
 								$elm$svg$Svg$Attributes$title('MonsterIcon'),
-								$elm$svg$Svg$Attributes$xlinkHref('res/icons/enemy.png')
+								$elm$svg$Svg$Attributes$xlinkHref('res/icons/Enemy.svg')
 							]),
 						_List_Nil),
 						A2(
@@ -12388,13 +12388,13 @@ var $author$project$DungeonMap$placeIcon = F5(
 									A2(
 										$elm$core$Maybe$withDefault,
 										0,
-										$elm$core$String$toFloat(x)) - 3)),
+										$elm$core$String$toFloat(x)))),
 								$elm$svg$Svg$Attributes$y(
 								$elm$core$String$fromFloat(
 									A2(
 										$elm$core$Maybe$withDefault,
 										0,
-										$elm$core$String$toFloat(y)) - 0.5)),
+										$elm$core$String$toFloat(y)))),
 								$elm$svg$Svg$Attributes$dominantBaseline('middle')
 							]),
 						_List_fromArray(
diff --git a/src/DungeonMap.elm b/src/DungeonMap.elm
index 14c87ca..2131be0 100644
--- a/src/DungeonMap.elm
+++ b/src/DungeonMap.elm
@@ -244,16 +244,16 @@ placeIcon iconType id x y color =
     case iconType of
         "monster" ->
             [ Svg.image
-                [ SvgAtt.width "30"
-                , SvgAtt.height "30"
-                , SvgAtt.x (String.fromFloat (Maybe.withDefault 0 (String.toFloat x) - 17.5))
-                , SvgAtt.y (String.fromFloat (Maybe.withDefault 0 (String.toFloat y) - 17.5))
+                [ SvgAtt.width "50"
+                , SvgAtt.height "50"
+                , SvgAtt.x (String.fromFloat (Maybe.withDefault 0 (String.toFloat x) - 25.5))
+                , SvgAtt.y (String.fromFloat (Maybe.withDefault 0 (String.toFloat y) - 24.5))
                 , SvgAtt.title "MonsterIcon"
-                , SvgAtt.xlinkHref ("res/icons/enemy.png")
+                , SvgAtt.xlinkHref "res/icons/Enemy.svg"
                 ] []
             , Svg.text_ [ SvgAtt.textAnchor "middle"
-                , SvgAtt.x (String.fromFloat (Maybe.withDefault 0 (String.toFloat x) - 3))
-                , SvgAtt.y (String.fromFloat (Maybe.withDefault 0 (String.toFloat y) - 0.5))
+                , SvgAtt.x (String.fromFloat (Maybe.withDefault 0 (String.toFloat x)))
+                , SvgAtt.y (String.fromFloat (Maybe.withDefault 0 (String.toFloat y)))
                 , SvgAtt.dominantBaseline "middle"
                 ]
                 [ Svg.text (String.fromInt id) ]
-- 
GitLab