Skip to content

Commit

Permalink
Update Sforzando.ahk
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejGolian committed Oct 26, 2024
1 parent 4c42166 commit 4e0da5e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Includes/Overlays/Sforzando.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ Class Sforzando {

Static CheckPlugin(*) {
Thread "NoTimers"
Try {
PluginInstance := Plugin.GetInstance(GetCurrentControlClass())
If PluginInstance Is Plugin And PluginInstance.Name = "sforzando"
Return True
}
PluginInstance := Plugin.GetInstance(GetCurrentControlClass())
If PluginInstance Is Plugin And PluginInstance.Name = "sforzando"
Return True
UIAElement := GetUIAElement("15,1")
Try
If not UIAElement = False And UIAElement.Name = "PlogueXMLGUI"
Expand Down

0 comments on commit 4e0da5e

Please sign in to comment.