Skip to content

Commit

Permalink
Delete second Juggernaut bass image
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejGolian committed Dec 19, 2024
1 parent ab30c75 commit 9a982be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Binary file removed Images/KontaktKompleteKontrol/Juggernaut/Bass2.png
Binary file not shown.
8 changes: 2 additions & 6 deletions Includes/Overlays/KontaktKompleteKontrol/ImpactSoundworks.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Class ImpactSoundworks {
PluginClass := SubStr(This.Prototype.__Class, 1, InStr(This.Prototype.__Class, ".") - 1)

JuggernautOverlay := AccessibilityOverlay("Juggernaut")
JuggernautOverlay.Metadata := Map("Vendor", "Impact Soundworks", "Product", "Juggernaut", "Image", [Map("File", "Images/KontaktKompleteKontrol/Juggernaut/Bass1.png"), Map("File", "Images/KontaktKompleteKontrol/Juggernaut/Bass2.png"), Map("File", "Images/KontaktKompleteKontrol/Juggernaut/DrumsAndFX.png")])
JuggernautOverlay.Metadata := Map("Vendor", "Impact Soundworks", "Product", "Juggernaut", "Image", [Map("File", "Images/KontaktKompleteKontrol/Juggernaut/Bass.png"), Map("File", "Images/KontaktKompleteKontrol/Juggernaut/DrumsAndFX.png")])
JuggernautOverlay.AddAccessibilityOverlay()
JuggernautOverlay.AddStaticText("Juggernaut")
JuggernautOverlay.AddActivatableCustom("", ObjBindMethod(This, "FocusPresetButton"),, ObjBindMethod(This, "ActivatePresetButton"))
Expand All @@ -15,11 +15,7 @@ Class ImpactSoundworks {

Static CreateElement() {
Try {
If ImageSearch(&FoundX, &FoundY, GetPluginXCoordinate(), GetPluginYCoordinate(), A_ScreenWidth, A_ScreenHeight, "Images/KontaktKompleteKontrol/Juggernaut/Bass1.png") {
Element := Create("Bass")
Return Element
}
If ImageSearch(&FoundX, &FoundY, GetPluginXCoordinate(), GetPluginYCoordinate(), A_ScreenWidth, A_ScreenHeight, "Images/KontaktKompleteKontrol/Juggernaut/Bass2.png") {
If ImageSearch(&FoundX, &FoundY, GetPluginXCoordinate(), GetPluginYCoordinate(), A_ScreenWidth, A_ScreenHeight, "Images/KontaktKompleteKontrol/Juggernaut/Bass.png") {
Element := Create("Bass")
Return Element
}
Expand Down

0 comments on commit 9a982be

Please sign in to comment.