mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-01 08:32:18 +03:00
Make all object path points clickable (#17367)
This commit is contained in:
@@ -95,10 +95,8 @@ export function ObjectPath({
|
||||
fill={getPointColor(color, pos.lifecycle_item?.class_type)}
|
||||
stroke="white"
|
||||
strokeWidth={width / 2}
|
||||
onClick={() =>
|
||||
pos.lifecycle_item && onPointClick && onPointClick(index)
|
||||
}
|
||||
style={{ cursor: pos.lifecycle_item ? "pointer" : "default" }}
|
||||
onClick={() => onPointClick && onPointClick(index)}
|
||||
style={{ cursor: "pointer" }}
|
||||
/>
|
||||
</TooltipTrigger>
|
||||
<TooltipPortal>
|
||||
|
||||
Reference in New Issue
Block a user