mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-12 03:10:03 +01:00
Change dimension upon loading through camera (#1456)
Co-authored-by: Harsh Khandeparkar <34770591+HarshKhandeparkar@users.noreply.github.com> Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
@@ -340,6 +340,7 @@ window.onload = function () {
|
|||||||
else
|
else
|
||||||
step.imgElement.src = url;
|
step.imgElement.src = url;
|
||||||
insertPreview.updatePreviews(url, document.querySelector('#addStep'));
|
insertPreview.updatePreviews(url, document.querySelector('#addStep'));
|
||||||
|
DefaultHtmlStepUi(sequencer).updateDimensions(step);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user