show colors on page load

This commit is contained in:
Skyler Lehmkuhl 2024-11-15 01:45:50 -05:00
parent 36f8c99dd3
commit 11f35466e9
2 changed files with 7 additions and 1 deletions

View File

@ -359,6 +359,7 @@ function splitPane(div, percent, horiz) {
} }
div1.style.flex = `0 0 ${percent}%` div1.style.flex = `0 0 ${percent}%`
div2.style.flex = `1 1 auto` div2.style.flex = `1 1 auto`
Coloris({el: ".color-field"})
updateUI() updateUI()
} }

View File

@ -199,3 +199,8 @@ button {
background-color: #2f2f2f; background-color: #2f2f2f;
} }
.clr-field button {
width: 100% !important;
height: 100% !important;
border-radius: 5px;
}