mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
remove premie optimisation of tintablesvg shouldComponentUpdate
This commit is contained in:
parent
8db14bde60
commit
f4573bae49
1 changed files with 0 additions and 5 deletions
|
@ -53,11 +53,6 @@ var TintableSvg = React.createClass({
|
|||
ReactDOM.findDOMNode(this).removeEventListener('load', this.onLoad);
|
||||
},
|
||||
|
||||
shouldComponentUpdate: function(nextProps, nextState) {
|
||||
// XXX: no dynamic TintableSvgs for now; speed above all else
|
||||
return false;
|
||||
},
|
||||
|
||||
tint: function() {
|
||||
// TODO: only bother running this if the global tint settings have changed
|
||||
// since we loaded!
|
||||
|
|
Loading…
Reference in a new issue