forked from 0x2620/oxjs
add an optional function to textlist columns that maps values to sort values
This commit is contained in:
parent
5915acd72c
commit
a3c18e57b0
6 changed files with 34 additions and 16 deletions
|
|
@ -27,9 +27,12 @@ Ox.MapMarkerImage = (function() {
|
|||
options.type, options.mode, options.size, options.color.join(',')
|
||||
].join(';');
|
||||
|
||||
Ox.print('HELLO??')
|
||||
|
||||
if (!cache[index]) {
|
||||
var color = options.type == 'place' ?
|
||||
Ox.merge(Ox.clone(options.color), [0.5]) : [0, 0, 0, 0],
|
||||
Ox.merge(Ox.clone(options.color), [0.5]) :
|
||||
options.type == 'result' ? [128, 128, 128, 0.5] : [0, 0, 0, 0],
|
||||
border = options.mode == 'normal' ? [0, 0, 0] :
|
||||
options.mode == 'selected' ? [255, 255, 255] : [128, 128, 255],
|
||||
c = Ox.canvas(options.size, options.size),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue