mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +02:00
Merge pull request #4844 from huffman/color-picker-reduce-size
Make edit color picker slimmer
This commit is contained in:
commit
107faf39c4
1 changed files with 6 additions and 6 deletions
|
@ -623,7 +623,7 @@
|
||||||
elColorBlue.addEventListener('change', colorChangeFunction);
|
elColorBlue.addEventListener('change', colorChangeFunction);
|
||||||
$('#property-color').colpick({
|
$('#property-color').colpick({
|
||||||
colorScheme:'dark',
|
colorScheme:'dark',
|
||||||
layout:'rgbhex',
|
layout:'hex',
|
||||||
color:'000000',
|
color:'000000',
|
||||||
onSubmit: function(hsb, hex, rgb, el) {
|
onSubmit: function(hsb, hex, rgb, el) {
|
||||||
$(el).css('background-color', '#'+hex);
|
$(el).css('background-color', '#'+hex);
|
||||||
|
@ -641,7 +641,7 @@
|
||||||
elLightColorBlue.addEventListener('change', lightColorChangeFunction);
|
elLightColorBlue.addEventListener('change', lightColorChangeFunction);
|
||||||
$('#property-light-color').colpick({
|
$('#property-light-color').colpick({
|
||||||
colorScheme:'dark',
|
colorScheme:'dark',
|
||||||
layout:'rgbhex',
|
layout:'hex',
|
||||||
color:'000000',
|
color:'000000',
|
||||||
onSubmit: function(hsb, hex, rgb, el) {
|
onSubmit: function(hsb, hex, rgb, el) {
|
||||||
$(el).css('background-color', '#'+hex);
|
$(el).css('background-color', '#'+hex);
|
||||||
|
@ -674,7 +674,7 @@
|
||||||
elTextTextColorBlue.addEventListener('change', textTextColorChangeFunction);
|
elTextTextColorBlue.addEventListener('change', textTextColorChangeFunction);
|
||||||
$('#property-text-text-color').colpick({
|
$('#property-text-text-color').colpick({
|
||||||
colorScheme:'dark',
|
colorScheme:'dark',
|
||||||
layout:'rgbhex',
|
layout:'hex',
|
||||||
color:'000000',
|
color:'000000',
|
||||||
onSubmit: function(hsb, hex, rgb, el) {
|
onSubmit: function(hsb, hex, rgb, el) {
|
||||||
$(el).css('background-color', '#'+hex);
|
$(el).css('background-color', '#'+hex);
|
||||||
|
@ -690,7 +690,7 @@
|
||||||
elTextBackgroundColorBlue.addEventListener('change', textBackgroundColorChangeFunction);
|
elTextBackgroundColorBlue.addEventListener('change', textBackgroundColorChangeFunction);
|
||||||
$('#property-text-background-color').colpick({
|
$('#property-text-background-color').colpick({
|
||||||
colorScheme:'dark',
|
colorScheme:'dark',
|
||||||
layout:'rgbhex',
|
layout:'hex',
|
||||||
color:'000000',
|
color:'000000',
|
||||||
onSubmit: function(hsb, hex, rgb, el) {
|
onSubmit: function(hsb, hex, rgb, el) {
|
||||||
$(el).css('background-color', '#'+hex);
|
$(el).css('background-color', '#'+hex);
|
||||||
|
@ -702,7 +702,7 @@
|
||||||
elZoneStageSunModelEnabled.addEventListener('change', createEmitGroupCheckedPropertyUpdateFunction('stage','sunModelEnabled'));
|
elZoneStageSunModelEnabled.addEventListener('change', createEmitGroupCheckedPropertyUpdateFunction('stage','sunModelEnabled'));
|
||||||
$('#property-zone-key-light-color').colpick({
|
$('#property-zone-key-light-color').colpick({
|
||||||
colorScheme:'dark',
|
colorScheme:'dark',
|
||||||
layout:'rgbhex',
|
layout:'hex',
|
||||||
color:'000000',
|
color:'000000',
|
||||||
onSubmit: function(hsb, hex, rgb, el) {
|
onSubmit: function(hsb, hex, rgb, el) {
|
||||||
$(el).css('background-color', '#'+hex);
|
$(el).css('background-color', '#'+hex);
|
||||||
|
@ -739,7 +739,7 @@
|
||||||
elZoneSkyboxColorBlue.addEventListener('change', zoneSkyboxColorChangeFunction);
|
elZoneSkyboxColorBlue.addEventListener('change', zoneSkyboxColorChangeFunction);
|
||||||
$('#property-zone-skybox-color').colpick({
|
$('#property-zone-skybox-color').colpick({
|
||||||
colorScheme:'dark',
|
colorScheme:'dark',
|
||||||
layout:'rgbhex',
|
layout:'hex',
|
||||||
color:'000000',
|
color:'000000',
|
||||||
onSubmit: function(hsb, hex, rgb, el) {
|
onSubmit: function(hsb, hex, rgb, el) {
|
||||||
$(el).css('background-color', '#'+hex);
|
$(el).css('background-color', '#'+hex);
|
||||||
|
|
Loading…
Reference in a new issue