1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

Merge branch 'develop' into gsouquet/fix-backdrop-filter

This commit is contained in:
Germain Souquet
2021-07-06 10:19:25 +02:00
736 changed files with 8122 additions and 7857 deletions

View File

@@ -25,7 +25,6 @@ interface IProps {
opacity?: number;
}
export default class BackdropPanel extends React.PureComponent<IProps> {
private canvasRef = createRef<HTMLCanvasElement>();
private ctx: CanvasRenderingContext2D;
@@ -33,7 +32,7 @@ export default class BackdropPanel extends React.PureComponent<IProps> {
static defaultProps = {
blur: "60px",
opacity: .15,
}
};
public componentDidMount() {
this.ctx = this.canvasRef.current.getContext("2d");
@@ -78,7 +77,7 @@ export default class BackdropPanel extends React.PureComponent<IProps> {
resultWidth,
resultHeight,
);
}
};
public render() {
return <canvas