Giter Club home page Giter Club logo

Comments (2)

Repooc avatar Repooc commented on August 12, 2024

Since our bars do not equate to blizzard bars 1 to 1 (ie: our bar 1 may not be their bar 1 for example) so the bars
image
I have bars 1-10, 13-15 (13 bars on the left top to bottom)

Wow_b3GllSd6Th.mp4

as you can see some of the binds are going to show on the "Blizzard's" part and some are in ElvUI section, not a bug just a quirk how it is

from elvui.

sp00n avatar sp00n commented on August 12, 2024

The problem was that only Action Bar and Action Bar 2 showed up for the Blizzard default action bars, and only ActionBar 2 and ActionBar 7 (up to 10) under the ElvUI section (see my original post), so a whole set of action bars was just completely missing.

Here are the Blizzard entries:
image

After looking through the code this seems to be intentional:
\Core\Modules\ActionBars\ActionBars.lua:1696

function AB:Initialize()
	AB.db = E.db.actionbar

	_G.BINDING_HEADER_ELVUI = E.title

	for _, barNumber in pairs({2, 7, 8, 9, 10}) do
		for slot = 1, 12 do
			_G[format('BINDING_NAME_ELVUIBAR%dBUTTON%d', barNumber, slot)] = format('ActionBar %d Button %d', barNumber, slot)
		end
	end

And the other bars seem to make use of the MULTIACTIONBAR one (see line 76 in the same file, AB.barDefaults).

The use of MULTIACTIONBAR however lead me to a solution of some sorts. (Since 2023?) These MULTIACTIONBAR entries are only being displayed in the game options / Keybindings if the corresponding entry is also selected in the game options / Action Bars section.
And confusingly the option to make them display is labelled as "Remove Bar X Action Page", which sounds like it would do something else entirely.

Here's a screenshot of the setting that caused the first screenshot in this post, where only Blizzard's Action Bar and Action Bar 2 show up:
image

And only if I enable the tick box for each of these entries, the other Blizzard action bars also show up in the game options:
image
image

These "Remove Bar X Action Page" entries are being set in the AB:BlizzardOptionsPanel_OnEvent() (line 76) function of the same file. I don't know if the functionality for these entries have changed or if these were intended to do something else, but I was not expecting that "removing the action page for bar 3" would make bar 3 show up in the game options. 👀

from elvui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.