We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3178ad8 commit 9b97fdfCopy full SHA for 9b97fdf
CarConfigurator-UI/src/CarConfigurator/CarConfigurator.ts
@@ -126,6 +126,13 @@ export class CarConfigurator {
126
127
this.stream = options.stream;
128
this.onColorModeChanged = options.onColorModeChanged;
129
+
130
+ // default to hovering mouse unless otherwise specified in the url
131
+ const urlParams = new URLSearchParams(window.location.search);
132
+ if (!urlParams.has(Flags.HoveringMouseMode)) {
133
+ this.stream.config.setFlagEnabled(Flags.HoveringMouseMode, true);
134
+ }
135
136
this.configUI = new ConfigUI(this.stream.config);
137
138
this.createOverlays();
0 commit comments