Merge pull request #18490 from vector-im/t3chguy/fix/18088
This commit is contained in:
commit
1aa2efd2ce
2 changed files with 1 additions and 9 deletions
|
@ -598,7 +598,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
if (!handled &&
|
||||
// ideally we would use SpaceStore.spacesEnabled here but importing SpaceStore in this platform
|
||||
// breaks skinning as the platform is instantiated prior to the skin being loaded
|
||||
SettingsStore.getValue("feature_spaces") &&
|
||||
!SettingsStore.getValue("showCommunitiesInsteadOfSpaces") &&
|
||||
ev.code.startsWith("Digit") &&
|
||||
ev.code !== "Digit0" && // this is the shortcut for reset zoom, don't override it
|
||||
isOnlyCtrlOrCmdKeyEvent(ev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue