-
Notifications
You must be signed in to change notification settings - Fork 134
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
base: master
Are you sure you want to change the base?
Fix Custom Icon #706
Conversation
Elitesparkle
commented
Mar 28, 2024
•
edited
Loading
edited
- Bar Start After Icon now works for Overlay and Background textures too. b992b04
- Icon Size Offset is now applied immediately after login/reload. 1582c2f
This closes Tercioo#700.
This closes Tercioo#702.
@@ -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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
The background starting at the left of the icon is intended, as it can be used as a backdrop for the icon. |
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. |