mirror of
https://github.com/ApfelTeeSaft/LiveSplitOne.git
synced 2026-09-03 03:43:25 +00:00
Fix Blank Space Component Background
For some reason the background of the Blank Space Component was never rendered.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import * as React from "react";
|
||||
import * as LiveSplit from "../livesplit";
|
||||
import { gradientToCss } from "../util/ColorUtil";
|
||||
|
||||
export interface Props { state: LiveSplit.BlankSpaceComponentStateJson }
|
||||
|
||||
@@ -10,6 +11,7 @@ export default class BlankSpace extends React.Component<Props> {
|
||||
className="blank-space"
|
||||
style={{
|
||||
height: this.props.state.height,
|
||||
background: gradientToCss(this.props.state.background),
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user