Skip to content

Commit

Permalink
Undoing the default mouse mode setting in favor of setting it from th…
Browse files Browse the repository at this point in the history
…e application
  • Loading branch information
mcottontensor committed May 18, 2023
1 parent eb42398 commit c8f34b8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CarConfigurator-UI/src/CarConfigurator/CarConfigurator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,6 @@ export class CarConfigurator {

this.stream = options.stream;
this.onColorModeChanged = options.onColorModeChanged;

// default to hovering mouse unless otherwise specified in the url
const urlParams = new URLSearchParams(window.location.search);
if (!urlParams.has(Flags.HoveringMouseMode)) {
this.stream.config.setFlagEnabled(Flags.HoveringMouseMode, true);
}

this.configUI = new ConfigUI(this.stream.config);

this.createOverlays();
Expand Down

0 comments on commit c8f34b8

Please sign in to comment.