final comment

This commit is contained in:
Matthew Hodgson 2018-04-29 04:53:32 +01:00
parent 45c0c0eddd
commit db5fc53853

View file

@ -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: 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); // console.log("trying to fit image into timelineWidth of " + this.refs.body.offsetWidth + " or " + this.refs.body.clientWidth);
let thumbHeight = null; let thumbHeight = null;
if (content.info) { if (content.info) {