File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,11 +71,6 @@ $(function(){
7171
7272 // _$UI.appendTo('#content-wrapper'); // demonstration only
7373
74- // demonstrates not showing numbers in input field (part 1)
75- // $(this.$oldElm).css({'color': 'transparent'});
76- // this.$oldElm = $elm;
77- // $elm.css({'color': ''});
78-
7974 return { // this demo is a copy of the internal usage (to show how it works);
8075 'left' : ( _$UI . _left = position . left ) -
8176 ( ( _$UI . _left += _$UI . _width -
@@ -99,14 +94,19 @@ $(function(){
9994 // $elm.closest('.trigger').removeClass('active');
10095 // }
10196
102- // demonstrates not showing numbers in input field (part 2 )
97+ // demonstrates not showing numbers in input field (part 1 )
10398 // if (toggled === false) {
10499 // $elm.css({'color': 'transparent'});
105100 // }
106101
107102 if ( toggled === true ) { // on show colorPicker
108103 this . $alpha . toggle ( ! $elm . hasClass ( 'no-alpha' ) ) ;
109104 this . $sliders . toggle ( ! $elm . hasClass ( 'no-sliders' ) ) ;
105+
106+ // demonstrates not showing numbers in input field (part 2)
107+ // $(this.$oldElm).css({'color': 'transparent'});
108+ // this.$oldElm = $elm;
109+ // $elm.css({'color': colors.RGBLuminance > 0.22 ? '#222' : '#ddd'});
110110 }
111111
112112 // this.patchStyle.backgroundColor = $elm[0].style.backgroundColor; // set patch color...
You can’t perform that action at this time.
0 commit comments