mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
fix color pickers
This commit is contained in:
parent
08d9eda7d7
commit
0160ab23ab
2 changed files with 6 additions and 3 deletions
|
@ -853,6 +853,9 @@ div.refresh input[type="button"] {
|
|||
border-color: #afafaf;
|
||||
}
|
||||
|
||||
.colpick {
|
||||
z-index: 3;
|
||||
}
|
||||
.colpick[disabled="disabled"] {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
|
@ -1892,9 +1892,9 @@ function createColorProperty(property, elProperty) {
|
|||
// The original color preview within the picker needs to be updated on show because
|
||||
// prior to the picker being shown we don't have access to the selections' starting color.
|
||||
colorPickers[colorPickerID].colpickSetColor({
|
||||
"r": elInputR.value,
|
||||
"g": elInputG.value,
|
||||
"b": elInputB.value
|
||||
"r": elNumberR.elInput.value,
|
||||
"g": elNumberG.elInput.value,
|
||||
"b": elNumberB.elInput.value
|
||||
});
|
||||
},
|
||||
onHide: function(colpick) {
|
||||
|
|
Loading…
Reference in a new issue