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; }
|
||||
.dg .c .slider {
|
||||
background: #303030;
|
||||
cursor: ew-resize; }
|
||||
cursor: ew-resize;
|
||||
overflow: hidden; }
|
||||
.dg .c .slider-fg {
|
||||
background: #2fa1d6; }
|
||||
.dg .c .slider:hover {
|
||||
|
@ -184,6 +184,7 @@ $input-color: lighten($background-color, 8.5%);
|
||||
.slider {
|
||||
background: $input-color;
|
||||
cursor: ew-resize;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.slider-fg {
|
||||
|
Loading…
Reference in New Issue
Block a user