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

Fix Custom Icon #706

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix Custom Icon #706

wants to merge 2 commits into from

Conversation

Elitesparkle
Copy link
Contributor

@Elitesparkle Elitesparkle commented Mar 28, 2024

  • Bar Start After Icon now works for Overlay and Background textures too. b992b04
  • Icon Size Offset is now applied immediately after login/reload. 1582c2f

@@ -4879,7 +4880,12 @@ function Details:InstanceRefreshRows(instance)
row.icone_classe:Show()

if (start_after_icon) then
row.statusbar:SetPoint("topleft", row.icone_classe, "topright")
row.statusbar:ClearAllPoints()
row.statusbar:SetPoint("left", row.icone_classe, "right", start_after_icon_offset_x, 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why an offset? This doesn't solve the issue as far as i understand.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The offset isn't required to solve the issue. I've added it only because it looks bad to have no space between icon and bar. I've tested the changes and they work.

@Tercioo
Copy link
Owner

Tercioo commented Aug 19, 2024

The background starting at the left of the icon is intended, as it can be used as a backdrop for the icon.
I think the rest is okay, could you revert the change for the background texture?

@Elitesparkle
Copy link
Contributor Author

Are you sure about that?

With your version, people won't be able to have a background for the bar but not for the icon.

With my version, people will still be able to use custom icons with built-in backdrop.

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.

3 participants