mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fill-box - keep height as a parameter
This commit is contained in:
parent
ae72a96f7e
commit
8d92110157
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,6 @@
|
|||
}
|
||||
|
||||
fill-box > svg {
|
||||
aspect-ratio: 1;
|
||||
vertical-align: middle;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
|
@ -38,6 +37,7 @@
|
|||
this.appendChild(template.content.cloneNode(true));
|
||||
this.querySelector("rect")?.setAttribute("fill", this.fill);
|
||||
this.querySelector("svg")?.setAttribute("width", this.size);
|
||||
this.querySelector("svg")?.setAttribute("height", this.size);
|
||||
}
|
||||
|
||||
static showTip() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue