Changeset 555


Ignore:
Timestamp:
08/22/06 03:28:24 (13 years ago)
Author:
mokhet
Message:

fix missing configuration editor.config.colorPicker.CellSize? and misused of the granularity (see ticket #85)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r554 r555  
    363363 
    364364  // size of color picker cells 
    365   this.colorPickerGranularity = '6px'; 
     365  this.colorPickerCellSize = '6px'; 
     366  // granularity of color picker cells (number per column/row) 
     367  this.colorPickerGranularity = 18; 
    366368  // position of color picker from toolbar button 
    367369  this.colorPickerPosition = 'bottom,right'; 
     
    42644266    }; 
    42654267  } 
    4266   var picker = new colorPicker({cellsize:editor.config.colorPickerGranularity,callback:cback}); 
     4268  var picker = new colorPicker({cellsize:editor.config.colorPickerCellSize,callback:cback,granularity:editor.config.colorPickerGranularity}); 
    42674269  picker.open(editor.config.colorPickerPosition, btn); 
    42684270}; 
Note: See TracChangeset for help on using the changeset viewer.