@@ -2594,8 +2594,8 @@ var control = (function(){
25942594func : function ( ) {
25952595theme . mod . color . hsl ( ) ;
25962596theme . render . color . shade ( ) ;
2597- theme . render . color . range . hsl ( ) ;
2598- theme . render . color . range . rgb ( ) ;
2597+ theme . render . color . input . range . hsl ( ) ;
2598+ theme . render . color . input . range . rgb ( ) ;
25992599theme . render . color . input . hex ( ) ;
26002600theme . render . color . input . picker ( ) ;
26012601}
@@ -2606,8 +2606,8 @@ var control = (function(){
26062606func : function ( ) {
26072607theme . mod . color . hsl ( ) ;
26082608theme . render . color . shade ( ) ;
2609- theme . render . color . range . hsl ( ) ;
2610- theme . render . color . range . rgb ( ) ;
2609+ theme . render . color . input . range . hsl ( ) ;
2610+ theme . render . color . input . range . rgb ( ) ;
26112611theme . render . color . input . hex ( ) ;
26122612theme . render . color . input . quick ( ) ;
26132613}
@@ -2619,8 +2619,8 @@ var control = (function(){
26192619func : function ( ) {
26202620theme . mod . color . hsl ( ) ;
26212621theme . render . color . shade ( ) ;
2622- theme . render . color . range . hsl ( ) ;
2623- theme . render . color . range . rgb ( ) ;
2622+ theme . render . color . input . range . hsl ( ) ;
2623+ theme . render . color . input . range . rgb ( ) ;
26242624theme . render . color . input . picker ( ) ;
26252625theme . render . color . input . quick ( ) ;
26262626}
@@ -2951,7 +2951,7 @@ var control = (function(){
29512951return parseInt ( object . element . value , 10 ) ;
29522952} ,
29532953color : function ( object ) {
2954- return helper . hexToRgb ( object . element . value ) ;
2954+ return helper . convertColor . hex . rgb ( object . element . value ) ;
29552955}
29562956} ;
29572957var valueMod = {
@@ -2962,7 +2962,7 @@ var control = (function(){
29622962return value / 100 ;
29632963} ,
29642964hexTextString : function ( value , object ) {
2965- return helper . hexToRgb ( value ) ;
2965+ return helper . convertColor . hex . rgb ( value ) ;
29662966}
29672967} ;
29682968var changeValue = function ( object ) {
@@ -2978,10 +2978,10 @@ var control = (function(){
29782978path : object . path ,
29792979newValue : newValue
29802980} ) ;
2981- // console.log("state set", object.path, helper.getObject({
2982- // object: state.get.current(),
2983- // path: object.path
2984- // }));
2981+ console . log ( "state set" , object . path , helper . getObject ( {
2982+ object : state . get . current ( ) ,
2983+ path : object . path
2984+ } ) ) ;
29852985} ;
29862986} ;
29872987var bindControl = function ( object ) {
@@ -3947,7 +3947,7 @@ var control = (function(){
39473947return value * 100 ;
39483948} ,
39493949hexTextString : function ( value , element ) {
3950- return helper . rgbToHex ( value ) ;
3950+ return helper . convertColor . rgb . hex ( value ) ;
39513951}
39523952} ;
39533953var setValue = {
@@ -4006,7 +4006,7 @@ var control = (function(){
40064006object . element . value = newValue ;
40074007} ,
40084008color : function ( object ) {
4009- object . element . value = helper . rgbToHex ( helper . getObject ( {
4009+ object . element . value = helper . convertColor . rgb . hex ( helper . getObject ( {
40104010object : state . get . current ( ) ,
40114011path : object . path
40124012} ) ) ;
0 commit comments