forked-daapd
@@ -159,7 +165,10 @@ export default {
playing: false,
loading: false,
- stream_volume: 10
+ stream_volume: 10,
+
+ show_outputs_menu: false,
+ show_settings_menu: false
}
},
@@ -198,6 +207,14 @@ export default {
this.$store.commit(types.SHOW_BURGER_MENU, !this.show_burger_menu)
},
+ on_click_outside_outputs () {
+ this.show_outputs_menu = false
+ },
+
+ on_click_outside_settings () {
+ this.show_settings_menu = false
+ },
+
set_volume: function (newVolume) {
webapi.player_volume(newVolume)
},