Add function for DevTools keys
This commit is contained in:
parent
fe12512138
commit
6d75bf83fa
1 changed files with 4 additions and 1 deletions
|
@ -179,7 +179,7 @@
|
||||||
Open Developer Tools
|
Open Developer Tools
|
||||||
</div>
|
</div>
|
||||||
<div class="md-option-segment md-option-segment_auto keybindings-border">
|
<div class="md-option-segment md-option-segment_auto keybindings-border">
|
||||||
<p class="keybinding-text">{{ getCommandOrControl() }} + Shift + I</p>
|
<p class="keybinding-text">{{ getCommandOrControl() }} + {{ getOptionOrShift() }} + I</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1191,6 +1191,9 @@
|
||||||
getCommandOrControl() {
|
getCommandOrControl() {
|
||||||
return app.platform == "darwin" ? "⌘" : "Ctrl";
|
return app.platform == "darwin" ? "⌘" : "Ctrl";
|
||||||
},
|
},
|
||||||
|
getOptionOrShift() {
|
||||||
|
return app.platform == "darwin" ? "⌥" : "Shift";
|
||||||
|
},
|
||||||
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