diff --git a/light9/ascoltami/Light9AscoltamiUi.ts b/light9/ascoltami/Light9AscoltamiUi.ts --- a/light9/ascoltami/Light9AscoltamiUi.ts +++ b/light9/ascoltami/Light9AscoltamiUi.ts @@ -1,5 +1,5 @@ import debug from "debug"; -import { html, LitElement } from "lit"; +import { css, html, LitElement } from "lit"; import { customElement, property } from "lit/decorators.js"; import { NamedNode } from "n3"; import { getTopGraph } from "../web/RdfdbSyncedGraph"; @@ -8,6 +8,7 @@ export { RdfdbSyncedGraph } from "../web export { Light9TimelineAudio } from "../web/light9-timeline-audio"; import { classMap } from "lit/directives/class-map.js"; import { TimingUpdate } from "./main"; +import { Zoom } from "../web/light9-timeline-audio"; debug.enable("*"); const log = debug("asco"); @@ -28,9 +29,22 @@ export class Light9AscoltamiUi extends L times!: { intro: number; post: number }; @property() nextText: string = ""; @property() isPlaying: boolean = false; + @property() show: NamedNode | null = null; @property() song: NamedNode | null = null; @property() t: number = 0; @property() currentDuration: number = 0; + @property() zoom: Zoom; + @property() overviewZoom: Zoom; + static styles = [ + css` + .timeRow { + margin: 14px; + } + light9-timeline-audio { + height: 80px; + } + `, + ]; render() { return html` @@ -38,6 +52,12 @@ export class Light9AscoltamiUi extends L

ascoltami [metrics]

+
+
+ + +
+