diff --git a/out/main.js b/out/main.js index fc47ea68e26349b17e91e6405a2f345e9496c5d8..93c75e1ccdd2e977488930d40c21f11d5c8eb741 100644 --- a/out/main.js +++ b/out/main.js @@ -12410,20 +12410,20 @@ var $author$project$DungeonMap$placeIcon = F5( $elm$svg$Svg$image, _List_fromArray( [ - $elm$svg$Svg$Attributes$width('25'), - $elm$svg$Svg$Attributes$height('25'), + $elm$svg$Svg$Attributes$width('45'), + $elm$svg$Svg$Attributes$height('45'), $elm$svg$Svg$Attributes$x( $elm$core$String$fromFloat( A2( $elm$core$Maybe$withDefault, 0, - $elm$core$String$toFloat(x)) - 11.5)), + $elm$core$String$toFloat(x)) - 22.5)), $elm$svg$Svg$Attributes$y( $elm$core$String$fromFloat( A2( $elm$core$Maybe$withDefault, 0, - $elm$core$String$toFloat(y)) - 11.5)), + $elm$core$String$toFloat(y)) - 22)), $elm$svg$Svg$Attributes$title('ObjectIcon'), $elm$svg$Svg$Attributes$xlinkHref('res/icons/Hero.svg') ]), @@ -12438,13 +12438,13 @@ var $author$project$DungeonMap$placeIcon = F5( A2( $elm$core$Maybe$withDefault, 0, - $elm$core$String$toFloat(x)) + 1)), + $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)) + 2.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 e6c719f975a7e6c4b00db03d119ca58623274503..14c87cad65ca30c914b33001a77e7d07671a3304 100644 --- a/src/DungeonMap.elm +++ b/src/DungeonMap.elm @@ -261,16 +261,16 @@ placeIcon iconType id x y color = "player" -> [ Svg.image - [ SvgAtt.width "25" - , SvgAtt.height "25" - , SvgAtt.x (String.fromFloat (Maybe.withDefault 0 (String.toFloat x) - 11.5)) - , SvgAtt.y (String.fromFloat (Maybe.withDefault 0 (String.toFloat y) - 11.5)) + [ SvgAtt.width "45" + , SvgAtt.height "45" + , SvgAtt.x (String.fromFloat (Maybe.withDefault 0 (String.toFloat x) - 22.5)) + , SvgAtt.y (String.fromFloat (Maybe.withDefault 0 (String.toFloat y) - 22)) , SvgAtt.title "ObjectIcon" - , SvgAtt.xlinkHref ("res/icons/Hero.svg") + , SvgAtt.xlinkHref "res/icons/Hero.svg" ] [] , Svg.text_ [ SvgAtt.textAnchor "middle" - , SvgAtt.x (String.fromFloat (Maybe.withDefault 0 (String.toFloat x) + 1)) - , SvgAtt.y (String.fromFloat (Maybe.withDefault 0 (String.toFloat y) + 2.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) ]