Fantasy-Map-Generator/modules
Ángel Montero Lamas 81f037004c
Color picker hatches 14-60 (#726)
* 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>
2022-02-06 21:56:16 +03:00
..
ui Color picker hatches 14-60 (#726) 2022-02-06 21:56:16 +03:00
burgs-and-states.js allow more states via number input 2022-01-16 19:37:16 +03:00
cloud.js show console.log in debug mode only 2021-09-09 10:00:53 +03:00
coa-generator.js dissalow local run 2022-02-06 01:04:11 +03:00
coa-renderer.js dissalow local run 2022-02-06 01:04:11 +03:00
cultures-generator.js minmax util function 2021-10-10 17:59:27 +03:00
export-json.js Graph of temperature changes for the year in the burg (#733) 2022-02-03 10:21:50 +03:00
export.js Color picker hatches 14-60 (#726) 2022-02-06 21:56:16 +03:00
fonts.js dissalow local run 2022-02-06 01:04:11 +03:00
heightmap-generator.js hightmap edit - fix mod function 2021-08-31 23:52:08 +03:00
heightmap-templates.js fix atoll heightmap template 2021-08-07 18:37:44 +03:00
lakes.js replace old iife by a simpler ones 2021-08-04 23:49:02 +03:00
load.js Color picker hatches 14-60 (#726) 2022-02-06 21:56:16 +03:00
markers-generator.js ensure marker id is unique 2021-12-29 22:11:45 +03:00
military-generator.js military - fix rural fleet 2021-11-10 23:57:27 +03:00
names-generator.js fix Basque base 2021-11-22 10:09:15 +03:00
ocean-layers.js replace old iife by a simpler ones 2021-08-04 23:49:02 +03:00
relief-icons.js minmax util function 2021-10-10 17:59:27 +03:00
religions-generator.js fix syntax 2022-01-10 16:54:26 +03:00
river-generator.js normalize prec, flux and river width 2021-12-30 18:49:36 +03:00
routes-generator.js replace old iife by a simpler ones 2021-08-04 23:49:02 +03:00
save.js dissalow local run 2022-02-06 01:04:11 +03:00
voronoi.js Fix: flux calculation from area-propotional value instead of normal value. (#654) 2021-08-15 12:43:20 +03:00