diff --git a/out/main.js b/out/main.js index 93c75e1ccdd2e977488930d40c21f11d5c8eb741..d174dc77529a50d5639c27e045c4cbc4ec9f7ce5 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 14c87cad65ca30c914b33001a77e7d07671a3304..2131be07dd7c325961ba6e3c7630a1978c2d5091 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) ]