mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
move markers into a separate module
This commit is contained in:
parent
3b2409d331
commit
53133b9d8c
1 changed files with 3 additions and 3 deletions
|
|
@ -461,9 +461,9 @@ function parseLoadedData(data) {
|
||||||
zones = viewbox.insert('g', '#borders').attr('id', 'zones').attr('display', 'none');
|
zones = viewbox.insert('g', '#borders').attr('id', 'zones').attr('display', 'none');
|
||||||
zones.attr('opacity', 0.6).attr('stroke', null).attr('stroke-width', 0).attr('stroke-dasharray', null).attr('stroke-linecap', 'butt');
|
zones.attr('opacity', 0.6).attr('stroke', null).attr('stroke-width', 0).attr('stroke-dasharray', null).attr('stroke-linecap', 'butt');
|
||||||
addZones();
|
addZones();
|
||||||
if (!markers.selectAll('*').size()) {
|
if (!markers.selectAll("*").size()) {
|
||||||
addMarkers();
|
Markers.generate();
|
||||||
turnButtonOn('toggleMarkers');
|
turnButtonOn("toggleMarkers");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1.0 add fogging layer (state focus)
|
// 1.0 add fogging layer (state focus)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue