Fixed issues for touch screens, updated screenshots

This commit is contained in:
Piotr Machowski
2019-09-06 23:12:33 +02:00
parent da5c45c0dd
commit c517d6d64e
4 changed files with 1 additions and 1 deletions

View File

@@ -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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 119 KiB

BIN
s2.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 KiB

After

Width:  |  Height:  |  Size: 352 KiB

BIN
s3.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 167 KiB