Fix color picking closing more info

This commit is contained in:
Paulus Schoutsen 2015-11-01 22:44:34 -08:00
parent 45990299d1
commit 63307e1c41
2 changed files with 0 additions and 6 deletions

View File

@ -43,7 +43,6 @@ export default new Polymer({
'mouseup': 'onMouseUp',
'touchstart': 'onTouchStart',
'touchend': 'onTouchEnd',
'tap': 'onTap',
},
onMouseDown(ev) {
@ -64,10 +63,6 @@ export default new Polymer({
this.removeEventListener('touchmove', this.onTouchMove);
},
onTap(ev) {
ev.stopPropagation();
},
onTouchMove(ev) {
const touch = ev.touches[0];
this.onColorSelect(ev, {x: touch.clientX, y: touch.clientY});

View File

@ -54,7 +54,6 @@
<ha-color-picker on-colorselected='colorPicked' width='350' height='200'>
</ha-color-picker>
</div>
</template>
</dom-module>