Skip to content

Commit

Permalink
clarify another scrolljump bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ara4n committed Apr 29, 2018
1 parent c254d04 commit 731f1fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/views/messages/MImageBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ export default class extends React.Component {
// FIXME: this will break on clientside generated thumbnails (as per e2e rooms)
// which may well be much smaller than the 800x600 bounding box.

// FIXME: It will also break really badly for images with broken or missing thumbnails

//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 731f1fa

Please sign in to comment.