diff --git a/packages/frontend/src/pages/room.vue b/packages/frontend/src/pages/room.vue index 8561797665..f0d06dacea 100644 --- a/packages/frontend/src/pages/room.vue +++ b/packages/frontend/src/pages/room.vue @@ -201,11 +201,11 @@ const isRoomSettingsOpen = ref(false); const isModified = ref(false); const graphicsQualityRaw = prefer.model('world.graphicsQuality'); -const graphicsQualityAutoValue = computed(() => deviceKind === 'smartphone' ? GRAPHICS_QUALITY_LOW : GRAPHICS_QUALITY_MEDIUM); +const graphicsQualityAutoValue = computed(() => deviceKind !== 'desktop' ? GRAPHICS_QUALITY_LOW : GRAPHICS_QUALITY_MEDIUM); const graphicsQuality = computed(() => graphicsQualityRaw.value ?? graphicsQualityAutoValue.value); const fpsRaw = prefer.model('world.fps'); -const fpsAutoValue = computed(() => deviceKind === 'smartphone' ? 30 : 60); +const fpsAutoValue = computed(() => deviceKind !== 'desktop' ? 30 : 60); const fps = computed(() => fpsRaw.value == null ? fpsAutoValue.value : fpsRaw.value === 'max' ? null : @@ -214,7 +214,7 @@ const fps = computed(() => 30); const resolutionRaw = prefer.model('world.resolution'); -const resolutionAutoValue = computed(() => deviceKind === 'smartphone' ? 0.5 : 1); +const resolutionAutoValue = computed(() => deviceKind !== 'desktop' ? 0.5 : 1); const resolution = computed(() => resolutionRaw.value ?? resolutionAutoValue.value); const useVirtualJoystick = isTouchUsing && (deviceKind === 'smartphone' || deviceKind === 'tablet');