From b970442d864f4796d0a206ef621f8e122f47dd31 Mon Sep 17 00:00:00 2001 From: Saif Addin Date: Fri, 18 Feb 2022 01:21:38 +0100 Subject: [PATCH] React to default --- modules/component/camera.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/component/camera.js b/modules/component/camera.js index 7732b59..f43a63b 100644 --- a/modules/component/camera.js +++ b/modules/component/camera.js @@ -5,6 +5,14 @@ export default class MinimalUICamera { static updateCameraSettings() { switch (game.settings.get('minimal-ui', 'cameraBehavior')) { + case 'default': { + rootStyle.setProperty('--novid', 'inherit'); + rootStyle.setProperty('--noviddis', 'inherit'); + rootStyle.setProperty('--novidleftflex', 'inherit'); + rootStyle.setProperty('--novidlefttop', 'inherit'); + rootStyle.setProperty('--novidleftleft', 'inherit'); + break; + } case 'reduced': { rootStyle.setProperty('--novid', 'inherit'); rootStyle.setProperty('--noviddis', 'none');