forked from Github/frigate
UI tweaks (#12297)
* Use full resolution aspect for main camera style in history view * Only check for offline cameras after 60s of uptime * only call onPlaying when loadeddata is fired or after timeout * revert to inline funcs * Portal frigate plus alert dialog * remove duplicated logic * increase onplaying timeout * Use a ref instead of a state and clear timeout in AutoUpdatingCameraImage * default to the selected month for selectedDay * Use buffered time instead of timeout * Use default cursor when not editing polygons
This commit is contained in:
@@ -131,10 +131,18 @@ export default function PolygonDrawer({
|
||||
closed={isFinished}
|
||||
fill={colorString(isActive || isHovered ? true : false)}
|
||||
onMouseOver={() =>
|
||||
isFinished ? setCursor("move") : setCursor("crosshair")
|
||||
isActive
|
||||
? isFinished
|
||||
? setCursor("move")
|
||||
: setCursor("crosshair")
|
||||
: setCursor("default")
|
||||
}
|
||||
onMouseOut={() =>
|
||||
isFinished ? setCursor("default") : setCursor("crosshair")
|
||||
isActive
|
||||
? isFinished
|
||||
? setCursor("default")
|
||||
: setCursor("crosshair")
|
||||
: setCursor("default")
|
||||
}
|
||||
/>
|
||||
{isFinished && isActive && (
|
||||
|
||||
Reference in New Issue
Block a user