mirror of
https://github.com/PiotrMachowski/lovelace-xiaomi-vacuum-map-card.git
synced 2021-06-25 09:14:01 +03:00
Fixed issues for touch screens, updated screenshots
This commit is contained in:
2
dist/xiaomi-vacuum-map-card.js
vendored
2
dist/xiaomi-vacuum-map-card.js
vendored
@@ -234,7 +234,7 @@ class XiaomiVacuumMapCard extends LitElement {
|
||||
this.currRectangle.y = ry;
|
||||
this.currRectangle.w = rw;
|
||||
this.currRectangle.h = rh;
|
||||
if (rw > 0 && rh > 0) {
|
||||
if (rw > 5 && rh > 5) {
|
||||
this.rectangles.push({x: rx, y: ry, w: rw, h: rh});
|
||||
}
|
||||
this.drawCanvas();
|
||||
|
||||
BIN
s1.gif
BIN
s1.gif
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 119 KiB |
BIN
s2.gif
BIN
s2.gif
Binary file not shown.
|
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 352 KiB |
Reference in New Issue
Block a user