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', 'mouseup': 'onMouseUp',
'touchstart': 'onTouchStart', 'touchstart': 'onTouchStart',
'touchend': 'onTouchEnd', 'touchend': 'onTouchEnd',
'tap': 'onTap',
}, },
onMouseDown(ev) { onMouseDown(ev) {
@ -64,10 +63,6 @@ export default new Polymer({
this.removeEventListener('touchmove', this.onTouchMove); this.removeEventListener('touchmove', this.onTouchMove);
}, },
onTap(ev) {
ev.stopPropagation();
},
onTouchMove(ev) { onTouchMove(ev) {
const touch = ev.touches[0]; const touch = ev.touches[0];
this.onColorSelect(ev, {x: touch.clientX, y: touch.clientY}); 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 on-colorselected='colorPicked' width='350' height='200'>
</ha-color-picker> </ha-color-picker>
</div> </div>
</template> </template>
</dom-module> </dom-module>