From a392223ef6a0b18f0957c2cc3468df3192ca6902 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Mon, 30 May 2022 00:36:43 +0300 Subject: [PATCH] version info and hash update --- modules/dynamic/heightmap-selection.js | 27 +++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/modules/dynamic/heightmap-selection.js b/modules/dynamic/heightmap-selection.js index 90bfdec8..9318987d 100644 --- a/modules/dynamic/heightmap-selection.js +++ b/modules/dynamic/heightmap-selection.js @@ -120,20 +120,29 @@ function appendStyleSheet() { 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 { width: 100%; aspect-ratio: ${graphWidth}/${graphHeight}; border-radius: 8px; 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"); @@ -198,7 +207,7 @@ function insertEditorHtml() { ${name}
${name} - +
`; })