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

Bar background opacity slider #168

Open
siegester03 opened this issue Nov 14, 2022 · 2 comments
Open

Bar background opacity slider #168

siegester03 opened this issue Nov 14, 2022 · 2 comments
Labels
🛠 Enhancement New feature or request Low Priority This issue will not be worked on unless there are no high or medium tasks left

Comments

@siegester03
Copy link

Is it possible to get a background opacity slider for timer bars? I'm using a small pixel texture for my minimalist UI, but the bars are hardcoded in DBT.lua with a 30% background opacity.

Alternatives are to allow bar heights to be set all the way down to 1, but then font and timer texts would need custom offset options too. Seems much simpler to use a one pixel bar texture, but allow the background opacity to be set to 0.

I'm brand new to LUA and the WoW APIs, but can submit a PR if this is something you're willing to add. I've started an initial stab at doing this here - master...siegester03:DBM-Unified:bar-background-opacity but I image more work is needed still

@MysticalOS
Copy link
Member

MysticalOS commented Feb 28, 2023

Can't you just use the transparency slider? it already exists. In fact i used it recently to make small bars invisible, effectively making only large bars that appear the only timers I see.

Or am I misunderstanding intent?

@siegester03
Copy link
Author

I am not trying to hide the bars completely, I just use a very minimalist UI and want them 2-3px tall on the screen with a fully transparent background. I created a texture that gives me the bar height I want with the text displayed above it, but I still see the full sized 30% opacity background behind the text. I'd like to had that background

@MysticalOS MysticalOS added Low Priority This issue will not be worked on unless there are no high or medium tasks left 🛠 Enhancement New feature or request labels Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠 Enhancement New feature or request Low Priority This issue will not be worked on unless there are no high or medium tasks left
Projects
None yet
Development

No branches or pull requests

2 participants