mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix color picking closing more info
This commit is contained in:
parent
45990299d1
commit
63307e1c41
@ -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});
|
||||
|
@ -54,7 +54,6 @@
|
||||
|
||||
<ha-color-picker on-colorselected='colorPicked' width='350' height='200'>
|
||||
</ha-color-picker>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
</dom-module>
|
||||
|
Loading…
x
Reference in New Issue
Block a user