mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
always show rename and delete buttons on mobile and tablet
without a group-hover state, a double-tap was required to select a face from the dropdown
This commit is contained in:
parent
a47c6a961c
commit
cd49a972b2
@ -497,7 +497,7 @@ function LibrarySelector({
|
|||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="icon"
|
size="icon"
|
||||||
className="size-7 opacity-0 transition-opacity group-hover:opacity-100"
|
className="size-7 lg:opacity-0 lg:transition-opacity lg:group-hover:opacity-100"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
setRenameFace(face);
|
setRenameFace(face);
|
||||||
@ -515,7 +515,7 @@ function LibrarySelector({
|
|||||||
<Button
|
<Button
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
size="icon"
|
size="icon"
|
||||||
className="size-7 opacity-0 transition-opacity group-hover:opacity-100"
|
className="size-7 lg:opacity-0 lg:transition-opacity lg:group-hover:opacity-100"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
setConfirmDelete(face);
|
setConfirmDelete(face);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user