Skip to content

Commit

Permalink
Update drop clear self detection
Browse files Browse the repository at this point in the history
  • Loading branch information
toobeeh committed Sep 10, 2021
1 parent fa5590c commit 6eaee6a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
- name: Archive Release
uses: thedoctor0/zip-release@master
with:
filename: 'typo-release-store22.3.6.zip'
filename: 'typo-release-store22.3.7.zip'
exclusions: '*.git* *.xpi changelog.md *.web-extension-id .editorconfig .github/'
- name: Upload Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "typo-release-store22.3.6.zip"
artifacts: "typo-release-store22.3.7.zip"
token: ${{ secrets.GITHUB_TOKEN }}
tag: "typo-release-store22.3.6"
tag: "typo-release-store22.3.7"
8 changes: 5 additions & 3 deletions features/drops.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ let drops = {
dropElem.style.left = Math.round(8 + Math.random() * 784) + "px";
//hide drop after 5s and emit timeout
setTimeout(async () => {
drops.waitForClear = false;
dropElem.style.display = "none";
printCmdOutput("drop", "The drop timed out :o", "Whoops...");
if (drops.currentDrop) {
dropElem.style.display = "none";
printCmdOutput("drop", "The drop timed out :o", "Whoops...");
drops.currentDrop = null;
}

}, 5000);
},
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Skribbl Typo",
"description": "The most complete toolbox for skribbl.io with namefinder & tablet support",
"version": "22.3.6",
"version": "22.3.7",
"author": "tobeh",
"icons": {
"256": "res/icon/256MaxFit.png",
Expand Down

0 comments on commit 6eaee6a

Please sign in to comment.