some formatting for HSL values

This commit is contained in:
rlx 2011-09-04 04:15:12 +00:00
parent 2bd0fbe21c
commit 93fed09f18
2 changed files with 8 additions and 8 deletions

View File

@ -303,14 +303,14 @@
"title": "Saturation",
"type": "float",
"columnWidth": 90,
"format": {"type": "color", "args": ["greyscale"]}
"format": {"type": "color", "args": ["saturation"]}
},
{
"id": "lightness",
"title": "Lightness",
"type": "float",
"columnWidth": 90,
"format": {"type": "color", "args": ["greyscale"]}
"format": {"type": "color", "args": ["lightness"]}
},
{
"id": "volume",

View File

@ -16,7 +16,7 @@ pandora.ui.list = function() { // fixme: remove view argument
Ox.print('$$$$', keys)
*/
that = Ox.TextList({
columns: Ox.merge([{
columns: /*Ox.merge([{
align: 'center',
defaultWidth: 16,
format: function(value, data) {
@ -58,8 +58,8 @@ pandora.ui.list = function() { // fixme: remove view argument
operator: '+',
position: 0,
removable: true,
//title: 'Poster',
///*
title: 'Poster',
*//*
title: $('<img>').attr({
src: Ox.UI.getImageURL(
pandora.user.ui.icons == 'posters'
@ -71,10 +71,10 @@ pandora.ui.list = function() { // fixme: remove view argument
height: '12px',
padding: '2px',
}),
//*/
*//*
visible: true,
width: 16
}], Ox.map(pandora.site.sortKeys, function(key) {
}], */Ox.map(pandora.site.sortKeys, function(key) {
var position = pandora.user.ui.lists[pandora.user.ui.list].columns.indexOf(key.id);
return {
align: ['string', 'text'].indexOf(
@ -92,7 +92,7 @@ pandora.ui.list = function() { // fixme: remove view argument
visible: position > -1,
width: pandora.user.ui.lists[pandora.user.ui.list].columnWidth[key.id] || key.columnWidth
};
})),
})/*)*/,
columnsMovable: true,
columnsRemovable: true,
columnsResizable: true,