Merge "Fix keyboard shortcuts for non-US keyboards" into stable-2.11
This commit is contained in:
commit
b99777141a
@ -136,15 +136,6 @@ public class KeyCommandSet implements KeyPressHandler {
|
||||
if (mask == 0) {
|
||||
mask = event.getNativeEvent().getKeyCode();
|
||||
}
|
||||
if (event.isAltKeyDown()) {
|
||||
mask |= KeyCommand.M_ALT;
|
||||
}
|
||||
if (event.isControlKeyDown()) {
|
||||
mask |= KeyCommand.M_CTRL;
|
||||
}
|
||||
if (event.isMetaKeyDown()) {
|
||||
mask |= KeyCommand.M_META;
|
||||
}
|
||||
return mask;
|
||||
}
|
||||
}
|
||||
|
@ -367,8 +367,8 @@ public class SideBySide extends Screen {
|
||||
KeyMap keyMap = KeyMap.create()
|
||||
.on("A", upToChange(true))
|
||||
.on("U", upToChange(false))
|
||||
.on("[", header.navigate(Direction.PREV))
|
||||
.on("]", header.navigate(Direction.NEXT))
|
||||
.on("'['", header.navigate(Direction.PREV))
|
||||
.on("']'", header.navigate(Direction.NEXT))
|
||||
.on("R", header.toggleReviewed())
|
||||
.on("O", commentManager.toggleOpenBox(cm))
|
||||
.on("Enter", commentManager.toggleOpenBox(cm))
|
||||
|
Loading…
Reference in New Issue
Block a user