photo: disable overlays on touch

pull/175/head
Varun Patil 2022-11-07 05:27:58 -08:00
parent a0b2bb3206
commit 166d6c3a9b
1 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@
placeholder: data.flag & c.FLAG_PLACEHOLDER, placeholder: data.flag & c.FLAG_PLACEHOLDER,
leaving: data.flag & c.FLAG_LEAVING, leaving: data.flag & c.FLAG_LEAVING,
error: data.flag & c.FLAG_LOAD_FAIL, error: data.flag & c.FLAG_LOAD_FAIL,
hasTouch: hasTouch,
}" }"
> >
<CheckCircle <CheckCircle
@ -249,7 +250,7 @@ $icon-size: $icon-half-size * 2;
cursor: pointer; cursor: pointer;
display: none; display: none;
.p-outer:hover > & { .p-outer:not(.hasTouch):hover > & {
display: flex; display: flex;
} }
@ -340,7 +341,7 @@ div.img-outer {
display: none; display: none;
transition: border-radius 0.1s ease-in; transition: border-radius 0.1s ease-in;
.p-outer:not(.selected):hover > & { .p-outer:not(.hasTouch):not(.selected):hover > & {
display: block; display: block;
} }
} }