Skip to content

Commit

Permalink
Fix unit select and unit menu never loading, fixes #221
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed Aug 30, 2024
1 parent e90da9b commit bd8d34a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel
* The MINOR component is used whenever a version has backwards-compatible profile changes. This also indicates that the user can not switch back to a previous MINOR version without using a backup.
* The PATCH component is used for versions that do not contain profile format changes. Users can freely switch between PATCH versions without risk of data loss.

## [Unreleased]

### Fixed

* Fix unit select and unit menu bindings not working

## [1.16.0] - 2024-08-29

### Added
Expand Down
4 changes: 4 additions & 0 deletions Clicked/Core/Utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ function Addon:GetBindingValue(binding)
return binding.action.macroValue
end

if binding.actionType == Clicked.ActionType.UNIT_SELECT or Clicked.ActionType.UNIT_MENU then
return binding.actionType
end

return nil
end

Expand Down

0 comments on commit bd8d34a

Please sign in to comment.