Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
final comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Apr 29, 2018
1 parent 45c0c0e commit db5fc53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/views/messages/MImageBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit db5fc53

Please sign in to comment.