Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2023-02-10 22:49:59 +01:00
commit 87419f9307
57 files changed
+841 -206

No files matched your search

@@ -31,6 +31,11 @@ export default class Upload extends ImmutablePureComponent {
render () {
const { media } = this.props;
if (!media) {
return null;
}
const focusX = media.getIn(['meta', 'focus', 'x']);
const focusY = media.getIn(['meta', 'focus', 'y']);
const x = ((focusX / 2) + .5) * 100;