Don't use TintableSVG
This seemed to have caused a little lag and it was unnecessary Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
							parent
							
								
									1c48804d96
								
							
						
					
					
						commit
						43e1144ae7
					
				|  | @ -150,14 +150,12 @@ export default class AuxPanel extends React.Component<IProps, IState> { | |||
|     } | ||||
| 
 | ||||
|     render() { | ||||
|         const TintableSvg = sdk.getComponent("elements.TintableSvg"); | ||||
| 
 | ||||
|         let fileDropTarget = null; | ||||
|         if (this.props.draggingFile) { | ||||
|             fileDropTarget = ( | ||||
|                 <div className="mx_RoomView_fileDropTarget"> | ||||
|                     <div title={_t("Drop File Here")}> | ||||
|                         <TintableSvg src={require("../../../../res/img/upload-big.svg")} width="45" height="59" /> | ||||
|                         <img src={require( "../../../../res/img/upload-big.svg")}> </img> | ||||
|                         <br /> | ||||
|                         { _t("Drop file here to upload") } | ||||
|                     </div> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Šimon Brandner
						Šimon Brandner