Skip to content

Commit

Permalink
added lab version identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
wellcaffeinated committed Apr 3, 2024
1 parent 4f962ff commit b68c8db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ VITE_LAB_NAME="Eclipse Explorer"
VITE_LAB_DESCRIPTION="Explore beautiful solar eclipses from other planets!"
VITE_KEYWORDS="Eclipse Simulation, Solar Eclipse"
VITE_GA_ID="G-CTMLHV8EPZ"
VITE_LAB_VERSION="1.0.1"
1 change: 1 addition & 0 deletions src/components/DebugControls.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
const appSettings = new GUI({
width: 400
})
appSettings.add({ version: import.meta.env.VITE_LAB_VERSION }, 'version').disable()
const planetFolder = appSettings.addFolder('Planet')
let moonSelector = planetFolder.add(state, 'selectedMoon', ['luna']).onChange((v) => {
load(PlanetConfigs[eclipseState.planet].moons[v])
Expand Down

0 comments on commit b68c8db

Please sign in to comment.