Introduce a "pinned" tile shape

All components which don't understand this shape will fall through to their normal states, as they would for no explicit tile shape.
This commit is contained in:
Travis Ralston 2021-07-13 19:01:55 -06:00
parent 49c9492484
commit 5a75539b93
3 changed files with 6 additions and 1 deletions

View file

@ -54,7 +54,9 @@ export default class RecordingPlayback extends React.PureComponent<IProps, IStat
}
private get isWaveformable(): boolean {
return this.props.tileShape !== TileShape.Notif && this.props.tileShape !== TileShape.FileGrid;
return this.props.tileShape !== TileShape.Notif
&& this.props.tileShape !== TileShape.FileGrid
&& this.props.tileShape !== TileShape.Pinned;
}
private onPlaybackUpdate = (ev: PlaybackState) => {