Trigger color picker change event

This commit is contained in:
Samuel Georges 2017-07-22 17:18:45 +10:00
parent cd6a7c75dc
commit 8e0279e45e
3 changed files with 8 additions and 6 deletions

View File

@ -88,16 +88,16 @@
} }
.sp-alpha-handle { .sp-alpha-handle {
background-color: #ccc; background-color: #ccc;
border: 1px solid #555; border: 1px solid #666;
width: 4px; width: 4px;
} }
.sp-color, .sp-color,
.sp-hue { .sp-hue {
border: 1px solid #333333; border: 1px solid #ccc;
} }
.sp-slider { .sp-slider {
background-color: #ccc; background-color: #ccc;
border: 1px solid #555; border: 1px solid #666;
height: 3px; height: 3px;
left: -4px; left: -4px;
width: 22px; width: 22px;

View File

@ -41,6 +41,7 @@
this.$colorList.on('click', '>li', function(){ this.$colorList.on('click', '>li', function(){
self.selectColor(this) self.selectColor(this)
self.$dataLocker.trigger('change')
}) })
/* /*

View File

@ -96,16 +96,17 @@
.sp-alpha-handle { .sp-alpha-handle {
background-color: #ccc; background-color: #ccc;
border: 1px solid #555; border: 1px solid #666;
width: 4px; width: 4px;
} }
.sp-color, .sp-hue { .sp-color, .sp-hue {
border: 1px solid #333333; border: 1px solid #ccc;
} }
.sp-slider { .sp-slider {
background-color: #ccc; background-color: #ccc;
border: 1px solid #555; border: 1px solid #666;
height: 3px; height: 3px;
left: -4px; left: -4px;
width: 22px; width: 22px;