mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-04 02:34:13 +02:00
This commit is contained in:
parent
851e9dcaa2
commit
5ed8dea705
4 changed files with 78 additions and 4 deletions
|
|
@ -10,6 +10,7 @@ export interface AnalyseMenuProps {
|
|||
inShared: boolean;
|
||||
open: boolean;
|
||||
openModal: (ModalState) => void;
|
||||
speed: number;
|
||||
}
|
||||
|
||||
export function AnalyseMenu(props: AnalyseMenuProps) {
|
||||
|
|
@ -22,6 +23,9 @@ export function AnalyseMenu(props: AnalyseMenuProps) {
|
|||
}
|
||||
|
||||
return (<div class="analyse-menu">
|
||||
<Show when={props.speed != 1}>
|
||||
<div class="speed">Playing at <span>{props.speed}x</span></div>
|
||||
</Show>
|
||||
<Show when={props.inShared}>
|
||||
<div class="share shared">
|
||||
You're spectating a session controlled by someone else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue