* Color picker hatches 14-60
Added hatches to number 14 to 60.
Updated the code of the color picker to accept multiples rows of hatches.
Changed the size of fillRectPointer from 0.9 em to 1.5 em.
Added an Update code to upgrade maps to 1.72 to have a grid of 60 svg hatches. Without the update, loaded files appeared with the rectangles for hatches 14-60 empty.
* Hatches ordered
Reworked the code to put back rows of 14 hatches. Reordered the first 14 hatches to defaault.
Made 3 rows, so 42 hatches.
* Cleaned code and fixes
Cleaned </pattern> in index.html line 152.
Put back: width=".9em" height=".9em" style="margin-bottom:-1px"> for fill.
* mouseover hatches
Fixed some typos. Changed mousemove for mouseover and moved the calling of the function tip from the each function to the original place at 519.
The arrow function changed to one that tells the id.
* Copies hatching from defElements into map svg, and hatching removed from saved map files.
* Removed haching completely from map svg
* Hatching copy for clone is now done before unused pattern removal
* Added back code that removes the unused hatching group
Co-authored-by: Evolvedexperiment <evolvedexperiment@gmail.com>
Co-authored-by: Azgaar <maxganiev@yandex.ru>
* Added a lock function to burgs that will prevent them from being regenerated
* Updated tooltips and fixed culture change from renaming locked burgs and group remove from deleting locked burgs
Correcting PR #504, which made saved files’ filenames follow the UTC.
This commit modifies the way the filename is generated and makes it
follow the user’s local time.
The following commit changes the default name of files saved by the
user. Originally, any saved file was named
`<map name> <capitalized three letter english month>D HH-mm.<ext>`
Now filenames follow more closely ISO 8601 and are named by default
`<map name> YYYY-MM-DD-HH-mm.<ext>`.
The function also became much smaller and easier to read.
* Add the ability to regenerate cultures
- Added a button to the tools menu for regeneration.
- Regeneration button will handle initial generation of cultures and expansion afterwards.
- Pressing regenerate will warn the user.
- Small cleanup of trailing whitespace.
* Refreshing cultures editor updates culture centers
* Regenerating cultures refreshes the culture editor
* Added a function to refresh all open editors
* Reset burg and state cultures after regeneration
* Address the problem of potential data loss
Any errors while iterating the states or burgs could potentially lose the index 0 metadata stored in the arrays. This will instead track the index and ignore the 0th result.
* Religions update cultures on culture regeneration
Updated function names to be more similar and more descriptive