Fix hotkey documentation
This commit is contained in:
parent
7e852dd7e3
commit
b97030a109
3 changed files with 27 additions and 9 deletions
|
@ -525,12 +525,20 @@ export default class ThemeViewState implements SpecialVisualizationState {
|
|||
)
|
||||
|
||||
for (let i = 1; i < 9; i++) {
|
||||
let doc = docs.selectItemI.Subs({ i })
|
||||
if (i === 1) {
|
||||
doc = docs.selectItem
|
||||
} else if (i === 2) {
|
||||
doc = docs.selectItem2
|
||||
} else if (i === 3) {
|
||||
doc = docs.selectItem3
|
||||
}
|
||||
Hotkeys.RegisterHotkey(
|
||||
{
|
||||
nomod: "" + i,
|
||||
onUp: true,
|
||||
},
|
||||
docs.selectItem,
|
||||
doc,
|
||||
() => this.selectClosestAtCenter(i - 1)
|
||||
)
|
||||
}
|
||||
|
|
|
@ -220,7 +220,7 @@ button.selected svg path, .button.selected svg path {
|
|||
fill: var(--catch-detail-foregroundcolor) !important;
|
||||
}
|
||||
|
||||
button:not(.no-image-background) svg path, .button:not(.no-image-background) svg path {
|
||||
button:not(.no-image-background):not(.soft) svg path, .button:not(.no-image-background):not(.soft) svg path {
|
||||
fill: var(--interactive-foreground) !important;;
|
||||
transition: all 250ms;
|
||||
}
|
||||
|
@ -355,6 +355,11 @@ button.soft, .button.soft {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
button.soft:hover, .button.soft:hover {
|
||||
background-color: var(--interactive-background);
|
||||
color: var(--interactive-foreground);
|
||||
}
|
||||
|
||||
.links-as-button a {
|
||||
/*
|
||||
* Let a 'link' mimick a button, but not entirely
|
||||
|
@ -369,7 +374,7 @@ button.soft, .button.soft {
|
|||
|
||||
.links-as-button a:hover {
|
||||
background-color: var(--interactive-background);
|
||||
color: var(--catch-detail-foregroundcolor);
|
||||
color: var(--interactive-foregroundcolor);
|
||||
border-color: var(--catch-detail-color-contrast);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue