LINE DASH ARRAY appear in edit but not in presentation | World Anvil

Remove these ads. Join the Worldbuilders Guild

LINE DASH ARRAY appear in edit but not in presentation

open
· Maps ·
By jdr-ninja on 03/22/2024
· Assigned to Dimitris
· Acknowledged Bug

In the "map editor", polygon dashed border (LINE DASH ARRAY) appear but in the "presentation view" the border is solid (no dash).

Steps to Reproduce

In map editor,

  • Create a polygon
  • LINE WEIGHT : 2
  • STROKE DASH SIZE/LINE DASH ARRAY : 5
  • Save
  • The border is dashed in the editor, but in the presentation view the line is solid.

    Operating System

    Windows

    Browser

    Google Chrome

    History

    Dimitris @ 23 Mar, 2024 09:46:34 Assignee

    Hey there - I am not sure how you made an array work on the editing interface but an array requires more than 1 digit to work since the first digit denotes a line and the second a space the third a line the forth a space and so forth - have you tried solething like "5 5"

    Dimitris @ 23 Mar, 2024 09:46:38 Assignee
    Assigned Dimitris
    jdr-ninja @ 23 Mar, 2024 12:35:27

    Hi, the field have two differents names in the UI.   In the "map editor", when you create a line/circle or polygon, the wizard use the caption "STROKE DASH SIZE" (input id="dash-array-inp").   In the "marker editor" (https://www.worldanvil.com/world/map/marker/GUID/edit), the caption is "LINE DASH ARRAY" (input id="mapbundle_marker_lineDash").   But it's the same field.   After more testing, I found this :   In the map editor, the html element PATH have the attribute "stroke-dasharray" correctly initialized.   In the "presentation mode", the html element PATH don't have the attribute "stroke-dasharray".   I am able to add it through the developer console (F12 in browser) and I see that it is only him that is missing.

    mikolaszko @ 26 Mar, 2024 11:03:23 Developer
    mikolaszko Added tag Acknowledged
    mikolaszko @ 26 Mar, 2024 11:03:31 Developer
    mikolaszko Added tag Bug
    Dimitris @ 29 Mar, 2024 11:30:16 Assignee

    jdr-ninja just a quick update to let you know that we on this - Mikolaj sadly is not feeling well the last 2 days but I am sure he will be on it Monday

    jdr-ninja @ 29 Mar, 2024 01:48:18

    thank!