mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
final comment
This commit is contained in:
parent
45c0c0eddd
commit
db5fc53853
1 changed files with 4 additions and 0 deletions
|
@ -246,6 +246,10 @@ export default class extends React.Component {
|
|||
|
||||
// FIXME: It will also break really badly for images with broken or missing thumbnails
|
||||
|
||||
// FIXME: Because we don't know what size of thumbnail the server's actually going to send
|
||||
// us, we can't even really layout the page nicely for it. Instead we have to assume
|
||||
// it'll target 800x600 and we'll downsize if needed to make things fit.
|
||||
|
||||
// console.log("trying to fit image into timelineWidth of " + this.refs.body.offsetWidth + " or " + this.refs.body.clientWidth);
|
||||
let thumbHeight = null;
|
||||
if (content.info) {
|
||||
|
|
Loading…
Reference in a new issue