Skip to content

Commit

Permalink
Auto fill
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonstrandum committed Mar 2, 2019
1 parent 1d203d5 commit 0ac51d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/BasicCanvas.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Basic semi-related tools.
--// Basic semi-related tools.
export const clone = obj => Object.assign(Object.create(Object.getPrototypeOf(obj)), obj);
Object.prototype.clone = function () {
return clone(this);
Expand Down Expand Up @@ -626,8 +626,8 @@ class Canvas {
};
this.context.beginPath();
_construction(this.shapes[_name].shape);
this.context.closePath();
this.shapes[_name].shape.fill(this.fill);
this.context.closePath();
return this.shapes[_name].shape;
}

Expand Down
2 changes: 1 addition & 1 deletion server.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
echo "Go to: http://localhost:8000/example"
python3 -m http.server 8000 &> server.log
python3 -m http.server 8000

0 comments on commit 0ac51d1

Please sign in to comment.