Skip to content

Commit

Permalink
Add overlay options to profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
SaifAqqad committed Jul 3, 2022
1 parent e6202bb commit f858730
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MicMute.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ switchProfile(p_name:=""){
}
}else{
if(current_profile.OnscreenOverlay){
overlay_wnd:= new Overlay({size: 44
, theme: 0
overlay_wnd:= new Overlay({size: current_profile.overlaySize
, theme: current_profile.overlayTheme
, pos: current_profile.OverlayPos
, showOn: current_profile.OverlayShow
, useCustomIcons: current_profile.OverlayUseCustomIcons})
Expand Down
2 changes: 2 additions & 0 deletions src/config/ProfileTemplate.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class ProfileTemplate{
this.OSDPos:={x:-1,y:-1}
this.OverlayPos:={x:-1,y:-1}
this.OverlayShow:=2
this.overlayTheme:=0
this.overlaySize:=44
this.OverlayUseCustomIcons:=0
if(IsObject(p_name_Obj)){
onMuteOnly:= p_name_Obj.Delete("OverlayOnMuteOnly")
Expand Down

0 comments on commit f858730

Please sign in to comment.