-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: formatting, fixes and improvements #202
Conversation
Catch up to primary repo
chore: update vscode globals recognition fix(formatting): unset max line length - remove tab indents in favor of spaces chore: update .editorconfig
- enables reduced tooltip fontsize
- fix `Mega Macro` title to no longer get hidden behind top frame bar - adjust size of `Save` and `Cancel` buttons (grow buttons to make use of unused whitespace between them) - fix `FramePortrait` placement - fix `Lock/Unlock` button size to correctly match frame border height - update xml intentation to use spaces (be consistent across other files)
*feat(conditionals): add linting support for new `known` and `unknown` conditionals (Sellorio#199) *refactor: EventFrame to support fixed update intervalls *fix: temporarily disable range-based hotkey coloring (Sellorio#176) *fix: temporarily disable MainMenuBar (ActionBar) tooltips (Sellorio#131, Sellorio#172, Sellorio#173) *chore: minor improvements *ci: version bump
…onditionals *fix: use UTF-8 strlen to determine wordlength fixes: Sellorio#199
- allow for OptionalWordModifier using channeling - add nochanneling conditional - remove channelling conditional (typo)
What's the status of the temporary workarounds? Stuff that disables ranged coloring and tooltips? |
I came back to WoW today and I ran into a bug in the addon that makes it unusable so I'm testing this branch :) Switching to/from dragonflying mount completely breaks mega macro lol |
Hmm the issue still exists with this version. |
In my opinion, when disabling mainbar tooltips, this is happening less than before. (At least in my case) |
I'm trying to investigate the main issue (at least as far as what's blocking me from using the addon). Which is the Interface Action Blocked issue. I would love any help/info you have about it. So far this is what I have:
4x [ADDON_ACTION_FORBIDDEN] AddOn 'MegaMacro' tried to call the protected function 'UseAction()'.
|
Bartender4 seems to work, more testing required but it looks like until further notice this addon only works with BT4 and maybe ElvUI (although we've had support issues on there too). |
I have collected some resources of other addons suffering from similar issues, which I linked at the top: |
I'm inclined to not merge this in since it will impact Bartender4 users (like myself) adversely and won't fix the critical issues with native ui. For the range blinking. I was thinking the logic could be changed to cache the range test using the current range timer but set the action bar appearance every frame. Currently the timer controls both range test and ui changes which can cause conflicts with underlying logic. |
Sure! I agree that significant issues should be addressed at least until the next release. But if you're fine with the current features the PR is introducing, you could open a |
could some of the issue be related to GameTooltip? I was looking through the code, noticed we were using GameTooltip and it's functions, then I went through some of the API changes which were part of 10.0.2 and beyond and noticed this in .0.2 updates:
|
- TODO: `IconBrowser` migration
Hey @JoeLatte88, as far as I can tell these changes only apply when wanting to retrieve information from the tooltip and not when populating it. I think the API Changelog is a bit misleading there, as it states:
This means, that some additional |
- workaround for GetActionInfo not returning the correct values
Hey Sellorio,
I've made some fixes and improvements. I initially based the changes on @aurelion314 branch as he seemed to be maintaining the project lately. We did discuss and reviewed the changes and came to the conclusion to directly make this PR here because Mike currently doesn't has access to the game and doesn't want to block the updates I've made.
For more information on the discussion see here.
This PR includes the following features, fixes, and improvements:
Features:
BlizzardActionBars
to include all available ActionBars (Icon not working on some bars #177)known
andunknown
conditionals (New 'known:' and 'noknown:' conditionals #199)Bug Fixes:
[ADDON_ACTION_BLOCKED] AddOn 'MegaMacro' tried to call the protected function ''
(ActionButton locked: [ADDON_ACTION_BLOCKED] AddOn 'MegaMacro' tried to call the protected function #200)channeling
/nochanneling
modifiersChore:
Cheers 😊
fixes #177, #199
closes #188