mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
Fixed slider bar overflow issue
When a slider’s value exceeded its max value that bar overflows outside of the slider. This occurs when the value is programmatically set by listen().
This commit is contained in:
parent
8f0eba8ade
commit
bd31320077
@ -271,7 +271,8 @@
|
|||||||
color: #fff; }
|
color: #fff; }
|
||||||
.dg .c .slider {
|
.dg .c .slider {
|
||||||
background: #303030;
|
background: #303030;
|
||||||
cursor: ew-resize; }
|
cursor: ew-resize;
|
||||||
|
overflow: hidden; }
|
||||||
.dg .c .slider-fg {
|
.dg .c .slider-fg {
|
||||||
background: #2fa1d6; }
|
background: #2fa1d6; }
|
||||||
.dg .c .slider:hover {
|
.dg .c .slider:hover {
|
||||||
|
@ -184,6 +184,7 @@ $input-color: lighten($background-color, 8.5%);
|
|||||||
.slider {
|
.slider {
|
||||||
background: $input-color;
|
background: $input-color;
|
||||||
cursor: ew-resize;
|
cursor: ew-resize;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.slider-fg {
|
.slider-fg {
|
||||||
|
Loading…
Reference in New Issue
Block a user