Skip to content

Commit

Permalink
Release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasvienna committed Nov 7, 2022
1 parent 54f257f commit eabd278
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
7 changes: 6 additions & 1 deletion BlizzardBars_Mouseover/BlizzardBars_Mouseover.lua
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ end

--- Show main vehicle bar
function addon:Dragonriding()
-- this shit is DF release only
if not self.WoW10 then return end

if (IsMounted() and HasBonusActionBar()) then
-- we're dragonriding
self.dragonriding = true
Expand All @@ -201,7 +204,7 @@ function addon:Dragonriding()
else
-- if not dragonriding, hide everything again
self.dragonriding = false
self.bar_names[S_MAIN_BAR]:SetAlpha(0)
self.bars[S_MAIN_BAR]:SetAlpha(0)
end
end

Expand Down Expand Up @@ -315,6 +318,8 @@ end
-- and most data is available to the user.
function addon:OnEnable()
self:RegisterEvent("PLAYER_MOUNT_DISPLAY_CHANGED")

-- These get called when we're dragging a spell
self:RegisterEvent("ACTIONBAR_SHOWGRID")
self:RegisterEvent("ACTIONBAR_HIDEGRID")

Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ All notable changes to this project will be documented in this file. Be aware th
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
## [1.1.0] 2022-11-07
### Added
- Dragonriding overrides for main bar
- Bar stays visible while a flyout is open

### Fixed
- Resolve nil index issue when mounting up

## [1.0.0] 2022-11-07
### Added
- Initial release :)
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ Does what the title says. *Taintless, fast, and small!*

There are no configurations, no per-bar setting. All or nothing, for now.

Bars become and stay visible under the following conditions:
- Mouseover
- Edit Mode
- Quick Keybind Mode
- Bar has Spell Flyout open (e.g. Pet Utility or Summon Demon)

## Support & Connect
- GitHub: [https://github.com/AvyAddons](AvyAddons)
- Twitter: [https://twitter.com/Avyiel7](@Avyiel7)
Expand Down

0 comments on commit eabd278

Please sign in to comment.