hide brush cost gauges if they're irrelevant

This commit is contained in:
りき萌 2025-06-17 00:18:48 +02:00
parent 8b464d50f4
commit 9b82b211b4
2 changed files with 41 additions and 4 deletions

View file

@ -425,11 +425,19 @@ rkgk-brush-cost-gauges.rkgk-panel {
overflow: clip; /* clip corners */
&.hidden {
display: none;
}
& > rkgk-brush-cost-gauge {
display: block;
height: var(--gauge-size);
flex-grow: 1;
&.hidden {
display: none;
}
& > .full {
width: 100%;
height: 100%;