Removed some TODOs because we did them!
This commit is contained in:
parent
0165f0a798
commit
2b0b548307
1 changed files with 0 additions and 5 deletions
|
|
@ -227,11 +227,6 @@ export default {
|
||||||
lastSnapResponse: null,
|
lastSnapResponse: null,
|
||||||
snapPreviewImage() {
|
snapPreviewImage() {
|
||||||
// The "proper" capture method is more involved - this one pulls a frame out of the preview stream
|
// The "proper" capture method is more involved - this one pulls a frame out of the preview stream
|
||||||
// TODO: allow the full capture API to be used - via temporary or "ram" capture
|
|
||||||
// TODO: split into snapImage and getImage (so snapImage is a POST request to capture and
|
|
||||||
// getImage returns the latest capture)
|
|
||||||
// Problem: the above split might return images you didn't capture, as there's no link from
|
|
||||||
// one to the other. We could use internal state in this component to manage that.
|
|
||||||
return axios
|
return axios
|
||||||
.get(snapshotUri)
|
.get(snapshotUri)
|
||||||
.then(response => {
|
.then(response => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue