Skip to content

Commit

Permalink
tweak github workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmas committed Dec 21, 2023
1 parent e0f547b commit 0f26295
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy

on:
push:
# branches-ignore:
# - master
branches:
- master

env:
BASE_URL: /StuffInSpace
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16.20'
node-version: '18'

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand Down
3 changes: 1 addition & 2 deletions src/viewer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class Viewer {
this.eventManager.fireEvent('selectedSatChange', satellite);
}

onMouseMove() {
onMouseMove () {
this.mouseMoved = true;
}

Expand Down Expand Up @@ -276,7 +276,6 @@ class Viewer {
window.addEventListener('resize', this.onWindowResize.bind(this));

const canvasElement = this.renderer.domElement;
// canvasElement.addEventListener('click', this.onClick.bind(this));
canvasElement.addEventListener('mousedown', this.onMouseDown.bind(this));
canvasElement.addEventListener('mouseup', this.onMouseUp.bind(this));
canvasElement.addEventListener('mousemove', this.onHover.bind(this));
Expand Down

0 comments on commit 0f26295

Please sign in to comment.