Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.64k stars 671 forks source link

Cannot remove route type once added #1129

Closed jmurrayufo closed 2 months ago

jmurrayufo commented 2 months ago

Describe the bug Using the route tool to add a new type of route, the trash can on the route types submenu pops up warning about it removing all routes of that type (and being irreversible). Clicking either the remove or cancel button has no effect.

Steps to reproduce

  1. Use the Routes tool.
  2. Click Create New Route button.
  3. Place the route on the map.
  4. Click the pencil icon next to the "Group" dropdown.
  5. Click the plus icon on the Edit Route Groups.
  6. Replace text in the box with "rails".
  7. Click the Trashcan icon next to the new route (or any route).
  8. Click Remove on the prompt that appears.
  9. Lament that the route type is not removed.

Expected behavior

Deleting a route type should remove it.

.map file Thouervil 2024-09-11-15-41.zip

Screenshots N/A.

System

Azgaar commented 2 months ago

Should be fixed now, thanks for the report

jmurrayufo commented 2 months ago

Can confirm is fixed, thanks for the rapid turn around!