Skip to content

Commit

Permalink
Update screenshot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arpu authored Feb 1, 2024
1 parent 4e59d46 commit ff4ecb0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/scene/screenshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ module.exports.Component = registerComponent('screenshot', {
},

init: function () {

},

setup: function () {
Expand Down Expand Up @@ -79,7 +78,7 @@ module.exports.Component = registerComponent('screenshot', {
self.onKeyDown = self.onKeyDown.bind(self);
}

Check failure on line 79 in src/components/scene/screenshot.js

View workflow job for this annotation

GitHub Actions / Test Cases (16.x, latest)

Trailing spaces not allowed
},

Check failure on line 81 in src/components/scene/screenshot.js

View workflow job for this annotation

GitHub Actions / Test Cases (16.x, latest)

Trailing spaces not allowed
getRenderTarget: function (width, height) {
return new THREE.WebGLRenderTarget(width, height, {
colorSpace: this.el.sceneEl.renderer.outputColorSpace,
Expand Down

0 comments on commit ff4ecb0

Please sign in to comment.