Skip to content

Commit

Permalink
🔧 Debug > Activate always on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosimon committed Sep 6, 2021
1 parent a515e4b commit fbf264d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Experience/Experience.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ export default class Experience
{
this.config = {}

// Debug
this.config.debug = window.location.hash === '#debug'
this.config.debug = true

// Pixel ratio
this.config.pixelRatio = Math.min(Math.max(window.devicePixelRatio, 1), 2)

Expand All @@ -85,6 +81,10 @@ export default class Experience
this.config.height = boundings.height || window.innerHeight
this.config.smallestSide = Math.min(this.config.width, this.config.height)
this.config.largestSide = Math.max(this.config.width, this.config.height)

// Debug
// this.config.debug = window.location.hash === '#debug'
this.config.debug = this.config.width > 420
}

setStats()
Expand Down

0 comments on commit fbf264d

Please sign in to comment.