Skip to content

Commit

Permalink
misc small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bradysheridan committed Nov 23, 2023
1 parent ced4549 commit 0014d94
Show file tree
Hide file tree
Showing 7 changed files with 198 additions and 165 deletions.
326 changes: 163 additions & 163 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/components/CanvasP5.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export default function CanvasSource(props) {
onSketch,
webcamEnabled
} = props;

console.log("CanvasP5 props:", props);

// expose alias 'my' to store local non-state vars within component instance
const componentRef = useRef({});
Expand Down
1 change: 1 addition & 0 deletions src/components/Controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export default function Controls() {
value="Save working session"
onClick={() => {
var filename = prompt("Save session as", "session.ascii");
if (!filename) return;
downloadTextFile(JSON.stringify(context), filename);
}}
/>
Expand Down
Loading

0 comments on commit 0014d94

Please sign in to comment.