version info and hash update

This commit is contained in:
Azgaar 2022-05-30 00:36:43 +03:00
parent 10b54a71b1
commit a392223ef6

View file

@ -120,20 +120,29 @@ function appendStyleSheet() {
padding: 2px 1px; padding: 2px 1px;
} }
.heightmap-selection article > div > span.icon-cw:hover {
color: #000;
}
.heightmap-selection article > div > span.icon-cw:active {
color: #666;
}
.heightmap-selection article > img { .heightmap-selection article > img {
width: 100%; width: 100%;
aspect-ratio: ${graphWidth}/${graphHeight}; aspect-ratio: ${graphWidth}/${graphHeight};
border-radius: 8px; border-radius: 8px;
object-fit: fill; object-fit: fill;
} }
.heightmap-selection article .regeneratePreview {
outline: 1px solid #bbb;
padding: 1px 3px;
border-radius: 4px;
transition: all 0.1s ease-in-out;
}
.heightmap-selection article .regeneratePreview:hover {
outline: 1px solid #666;
}
.heightmap-selection article .regeneratePreview:active {
outline: 1px solid #333;
color: #000;
transform: rotate(45deg);
}
`; `;
const style = document.createElement("style"); const style = document.createElement("style");
@ -198,7 +207,7 @@ function insertEditorHtml() {
<img src="${dataUrl}" alt="${name}" /> <img src="${dataUrl}" alt="${name}" />
<div> <div>
${name} ${name}
<span data-tip="Regenerate preview" class="icon-cw"></span> <span data-tip="Regenerate preview" class="icon-cw regeneratePreview"></span>
</div> </div>
</article>`; </article>`;
}) })