Create getCommandOrControl function
This commit is contained in:
parent
0547ecf014
commit
929a521795
1 changed files with 4 additions and 0 deletions
|
@ -134,6 +134,7 @@
|
||||||
</div>
|
</div>
|
||||||
<b-modal id="modal-2" centered size="lg" v-title="$root.getLz('settings.option.general.keybindings')">
|
<b-modal id="modal-2" centered size="lg" v-title="$root.getLz('settings.option.general.keybindings')">
|
||||||
<div class="settings-option-body">
|
<div class="settings-option-body">
|
||||||
|
<!-- TODO: Use getCommandOrControl function result -->
|
||||||
<div class="md-option-line">
|
<div class="md-option-line">
|
||||||
<div class="md-option-segment">
|
<div class="md-option-segment">
|
||||||
Web Remote
|
Web Remote
|
||||||
|
@ -1178,6 +1179,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getCommandOrControl() {
|
||||||
|
return app.cfg.os == "darwin" ? "⌘" : "Ctrl";
|
||||||
|
},
|
||||||
windowBgStyleChange() {
|
windowBgStyleChange() {
|
||||||
this.$root.getNowPlayingArtworkBG(undefined, true)
|
this.$root.getNowPlayingArtworkBG(undefined, true)
|
||||||
if (this.$root.cfg.visual.window_background_style == "mica") {
|
if (this.$root.cfg.visual.window_background_style == "mica") {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue