Skip to content

Commit

Permalink
fix Swap Win/Ctrl Shift/Alt (beta)会导致win键没抬起来
Browse files Browse the repository at this point in the history
  • Loading branch information
no5ix committed Apr 7, 2022
1 parent 17ca06d commit f5d782f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/action.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,9 @@ SwapWinCtrlShiftAlt() {
if (InStr(A_ThisHotkey, "#")) {
cur_key := StrReplace(A_ThisHotkey, "#", "^")
SendInput, % cur_key
Send {LWin up} ;; 不晓得为何, 如果不加这一句就会导致win键没抬起来
}

TrayMenu.SetSwapWinCtrlShiftAlt()
TrayMenu.update_tray_menu()
tt(lang("Swap Win/Ctrl Shift/Alt (beta)") . ", SuxCore.CurrentSwapWinCtrlShiftAltSwitch == " . SuxCore.CurrentSwapWinCtrlShiftAltSwitch)
Expand Down
1 change: 0 additions & 1 deletion source/sux_core.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ class SuxCore
static _EVERYTHING_DIR := SuxCore._APP_DATA_DIR . "\ev_sup\"
; file
static Launcher_Name := A_WorkingDir "\sux.exe"
static Everything_Launcher_Name := A_WorkingDir "\app_data\ev_sup\Everything.exe"
; static conf_user_yaml_file := "conf.user.yaml"
static conf_user_json_file := "conf.user.json"
; static conf_default_yaml_file := SuxCore._APP_DATA_DIR "conf_bak/conf.default.yaml"
Expand Down

0 comments on commit f5d782f

Please sign in to comment.