mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
Added randomly generated marker placement (#966)
* Add option to generate and place marker of type * remove unecessary console.log * versioning * Update versioning.js * Update index.html * removed redundant functions and changed addMarker functionality * changed marker type selection behavior * fixed button toggling * changed type selection to button + dropdown menu * versioning
This commit is contained in:
parent
bd01090c3c
commit
e542574324
5 changed files with 83 additions and 6 deletions
32
index.css
32
index.css
|
|
@ -2357,6 +2357,38 @@ svg.button {
|
|||
opacity: 0.8;
|
||||
}
|
||||
|
||||
#markerTypeSelector {
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
#markerTypeSelectorWrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#markerTypeSelectMenu {
|
||||
display: none;
|
||||
}
|
||||
#markerTypeSelectMenu.visible {
|
||||
display: block;
|
||||
position: absolute;
|
||||
height: 250px;
|
||||
width: 170px;
|
||||
overflow-y: scroll;
|
||||
background: inherit;
|
||||
bottom: 100%;
|
||||
left: 0;
|
||||
background: white;
|
||||
}
|
||||
#markerTypeSelectMenu > button {
|
||||
display: block;
|
||||
width: 100%;
|
||||
border: 1px solid #ddd;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
#markerTypeSelectMenu > button:hover {
|
||||
background: #ccc;
|
||||
}
|
||||
|
||||
@media print {
|
||||
div,
|
||||
canvas {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue