mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 22:59:58 +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;
|
border-color: #afafaf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.colpick {
|
||||||
|
z-index: 3;
|
||||||
|
}
|
||||||
.colpick[disabled="disabled"] {
|
.colpick[disabled="disabled"] {
|
||||||
display: none !important;
|
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
|
// 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.
|
// prior to the picker being shown we don't have access to the selections' starting color.
|
||||||
colorPickers[colorPickerID].colpickSetColor({
|
colorPickers[colorPickerID].colpickSetColor({
|
||||||
"r": elInputR.value,
|
"r": elNumberR.elInput.value,
|
||||||
"g": elInputG.value,
|
"g": elNumberG.elInput.value,
|
||||||
"b": elInputB.value
|
"b": elNumberB.elInput.value
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onHide: function(colpick) {
|
onHide: function(colpick) {
|
||||||
|
|
Loading…
Reference in a new issue