photo: disable overlays on touch
parent
a0b2bb3206
commit
166d6c3a9b
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue