Option to make side drawer push videos to the side and be permanent, fixes #320

This commit is contained in:
Håvar Aambø Fosstveit
2020-05-09 00:03:56 +02:00
parent c5143de647
commit 1690394328
26 changed files with 174 additions and 21 deletions
+8
View File
@@ -19,6 +19,7 @@ const initialState =
showNotifications : true,
notificationSounds : true,
buttonControlBar : window.config.buttonControlBar || false,
drawerOverlayed : window.config.drawerOverlayed || true,
...window.config.defaultAudio
};
@@ -153,6 +154,13 @@ const settings = (state = initialState, action) =>
return { ...state, buttonControlBar };
}
case 'TOGGLE_DRAWER_OVERLAYED':
{
const drawerOverlayed = !state.drawerOverlayed;
return { ...state, drawerOverlayed };
}
case 'TOGGLE_HIDDEN_CONTROLS':
{
const hiddenControls = !state.hiddenControls;