Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua O'Sullivan committed Apr 6, 2020
2 parents c9ab17f + ca597bd commit 362aa9b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Picto",
"version": "1.1.1",
"version": "1.1.2",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
8 changes: 4 additions & 4 deletions src/assets/js/sketchpad.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ class Sketchpad {
"pointerdown",
this.drawPix.bind(this)
);
this.notepad.canvas.addEventListener(
"pointerleave",
this.resetMousePos.bind(this)
);
this.notepad.canvas.addEventListener("pointerleave", () => {
this.mousedown = false;
this.resetMousePos.bind(this);
});

/**imageData is all the drawn pixels and baked text */
this.imageData = {
Expand Down
2 changes: 1 addition & 1 deletion src/store/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const actions = {
.sort((a, b) => {
a.id - b.id;
})
.filter(a => a.type === "Message");
.filter(a => a.type === "Message" && !a.hidden);
if (msgs.length < 1) {
// eslint-disable-next-line no-console
console.error("No messages to copy!");
Expand Down

0 comments on commit 362aa9b

Please sign in to comment.