Skip to content

Commit

Permalink
Fix Aura Pause tray action not resetting the RGB when unchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
SaifAqqad committed Dec 23, 2023
1 parent e6c4c64 commit a5965c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/MicMute.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,14 @@ onUpdateState(microphone){
}
}

updateMicrophonesState(){
if(mic_controllers){
for _i, mic in mic_controllers{
onUpdateState(mic)
}
}
}

updateSysTheme(_wParam:="", lParam:=""){
if(!lParam || StrGet(lParam) == "ImmersiveColorSet"){
themes:= util_getSystemTheme()
Expand Down
1 change: 1 addition & 0 deletions src/UI/Tray.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ tray_toggleAuraSyncPause(){
} else {
AuraSyncAction.ServiceEnabled := true
Menu, auraSync, Uncheck, Pause
SetTimer, updateMicrophonesState, -1000
}
}

Expand Down

0 comments on commit a5965c6

Please sign in to comment.