Skip to content

Commit

Permalink
deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastián Gurín committed Sep 1, 2019
1 parent 06c5192 commit 64330f2
Show file tree
Hide file tree
Showing 69 changed files with 816 additions and 14,892 deletions.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@


## TODO / Road map
- [x] remove p-map dependency from src/image/imageBuiltIn.ts
- [ ] run(verbose: true) - propagate verbose to main() call and RunResult.
- [ ] magick command is not available, only convert, identify - but we should be using magick not those. (or is it that we are really executing magick and what we pass are its args ? ). Research.
- [ ] apps/magica-react - react components to different views of images and commands.
Expand Down
4 changes: 2 additions & 2 deletions apps/magica-canvas/src/ui/canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import { getState } from '../app/store'

export const Canvas = () => <canvas id="canvas"
width={getState().canvasBounds.width} height={getState().canvasBounds.height}
onMouseMove={e => dispatchCanvasMouseMove(e.nativeEvent.layerX, e.nativeEvent.layerY)}
onClick={e => change(e.nativeEvent.layerX, e.nativeEvent.layerY)}></canvas>
onMouseMove={e => dispatchCanvasMouseMove(e.offsetX, e.offsetY)}
onClick={e => change(e.offsetX, e.offsetY)}></canvas>

let context: CanvasRenderingContext2D

Expand Down
5 changes: 0 additions & 5 deletions apps/magica-canvas/src/util/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,8 @@ async function resetCapture() {
}
imageCapture = undefined
}

let timer: any

let imageCapture: any

async function shot() {
var f = await shotTakePhoto()
return await handleInputFileChange(f)
Expand All @@ -65,8 +62,6 @@ async function shotGrabFrame() {
return await File.fromHTMLImageData(data, 'f.rgba')
}



async function shotTakePhoto() {
// console.log(imageCapture , stream, stream!.getVideoTracks());

Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
> **[magica](README.md)**
**[magica](README.md)**

[Globals](README.md) /
[Globals](README.md)

## Index

Expand Down
Loading

0 comments on commit 64330f2

Please sign in to comment.