Dashboard motion: round dashboards page up and down, the ring eases to a notch or a reading, the slider tile to a value set elsewhere; reduced motion honoured by every tween; motion spec in the docs
This commit is contained in:
@@ -4,7 +4,7 @@ import type { DashboardDef_Output, Placement, WidgetDef } from "@/client"
|
||||
|
||||
import { cn } from "@/lib/utils"
|
||||
import "./dashboard.css"
|
||||
import { RoundView } from "./RoundFace"
|
||||
import { RoundPanel } from "./RoundFace"
|
||||
import {
|
||||
LockedProvider,
|
||||
PaletteProvider,
|
||||
@@ -393,8 +393,7 @@ export function DashboardView({
|
||||
{round ? (
|
||||
// Its own face memory per dashboard, so a panel switching to another
|
||||
// starts that one where it was left.
|
||||
<RoundView
|
||||
key={dashboard.name}
|
||||
<RoundPanel
|
||||
dashboard={dashboard}
|
||||
size={canvasOf(dashboard).width}
|
||||
onDashboard={onDashboard}
|
||||
|
||||
Reference in New Issue
Block a user