Skip to content
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

[Feature]: Hide Classbar Out of Combat #182

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

fbosch
Copy link
Contributor

@fbosch fbosch commented Nov 19, 2024

Adds a new checkbox option to the player class bar that enables automatic hiding based on combat state.

image

classbar-toggle-combat.mp4

I've done my best to follow the code style of existing widgets. Let me know if there's more to be done (localization etc.)

Copy link
Owner

@Krealle Krealle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, it's an useful addition!

Got a few things that need to be resolved before it can be merged however.

Menu/Builder.lua Outdated Show resolved Hide resolved
Widgets/Bars/ClassBar.lua Show resolved Hide resolved
Widgets/Bars/ClassBar.lua Outdated Show resolved Hide resolved
Widgets/Bars/ClassBar.lua Show resolved Hide resolved
@fbosch
Copy link
Contributor Author

fbosch commented Nov 19, 2024

Thanks for the feedback, the issues should be addressed now.

I also fixed an issue with the visibility of the bar not being updated when changing the setting, I'm not sure if my approach is correct though - let me know.

@fbosch fbosch requested a review from Krealle November 19, 2024 13:45
Copy link
Owner

@Krealle Krealle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a few more comments.

Widgets/Bars/ClassBar.lua Outdated Show resolved Hide resolved
Widgets/Bars/ClassBar.lua Outdated Show resolved Hide resolved
Widgets/Bars/ClassBar.lua Outdated Show resolved Hide resolved
@fbosch fbosch requested a review from Krealle November 20, 2024 11:07
@Krealle
Copy link
Owner

Krealle commented Nov 20, 2024

LGTM 👍

@Krealle Krealle merged commit 9c9da3e into Krealle:master Nov 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants