Skip to content

Commit

Permalink
disable selections; tag 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Mar 11, 2023
1 parent 22f1d38 commit 08f5432
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 19 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
registry-url: https://registry.npmjs.org/
cache: yarn

- run: yarn && yarn tsc -d

Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,13 @@ jobs:
upload-assets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16

- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
node-version: 18
cache: yarn

- run: yarn && yarn tsc

Expand All @@ -35,7 +25,7 @@ jobs:

- name: Deploy to server
id: deploy
uses: Pendect/action-rsyncer@v1.1.0
uses: Pendect/action-rsyncer@v2.0.0
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
Expand Down
4 changes: 4 additions & 0 deletions assets/touch-control.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ body {
overflow: hidden;
}

.touch-control {
user-select: none;
-webkit-user-select: none; /* Chrome, Opera and Safari*/
}

/* relative containers */
.left-group {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@triadica/touch-control",
"version": "0.0.1-a3",
"version": "0.0.1",
"main": "./lib/touch-control.mjs",
"scripts": {},
"devDependencies": {
Expand Down

0 comments on commit 08f5432

Please sign in to comment.