Skip to content

Commit

Permalink
Merge branch 'main' into Bridged-ModeSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejGolian committed Oct 28, 2024
2 parents b7e12c6 + e812598 commit 68e8faf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Lib/ReaHotkey.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ Class ReaHotkey {
ReaHotkey.OverrideHotkey("Plugin", PluginName, KeyName, Action, Options)
}

Static OverrideStandaloneHotkey(standaloneName := "", KeyName := "", Action := "", Options := "") {
ReaHotkey.OverrideHotkey("standalone", standaloneName, KeyName, Action, Options)
Static OverrideStandaloneHotkey(StandaloneName := "", KeyName := "", Action := "", Options := "") {
ReaHotkey.OverrideHotkey("Standalone", StandaloneName, KeyName, Action, Options)
}

Static TurnHotkeysOff(Type, Name := "") {
Expand Down Expand Up @@ -559,8 +559,8 @@ Class ReaHotkey {
ReaHotkey.FoundPlugin := False
ReaHotkey.FoundStandalone := False
ReaHotkey.StandaloneWinCriteria := False
For standaloneDefinition In Standalone.List
For WinCriterion In standaloneDefinition["WinCriteria"]
For StandaloneDefinition In Standalone.List
For WinCriterion In StandaloneDefinition["WinCriteria"]
If WinActive(WinCriterion) {
ReaHotkey.FoundStandalone := Standalone.GetByWinID(WinGetID("A"))
ReaHotkey.StandaloneWinCriteria := WinCriterion
Expand Down

0 comments on commit 68e8faf

Please sign in to comment.