Feature Request. Couple improvements over addon settings. #1705


  • New
  • Enhancement
Open
  • Fakelessgaming created this issue Sep 14, 2021

    Hello sir. Using SUF since forever, yet there are some minor improovements which could make addon even better. I made some of them by myself but have to repeat each update. So here we are =). I would take my chances to list them below. And I will stick text of my way of fixing them.

     

    1. Remove font shadow. There is an outline option u can set but u can't disable the shadow for the font. 

    2. Aura border style. There is a way to mae a pixel perfect borders with masque adon, but to have this as a default in suf would be so great. example below.

    3. Icon Size limitation. Aura size have a very small limit which is easy to set higher.
    4. Width weight limitation. Making a larger value for here for the text inside frames.
    5. x/y position limit for unit frame auras.

    Here's my note for all limitations made by me so u can se the better picture.

    ----------SUF-----------
    1. Remove font shadow - "-- Setup text" (Interface\AddOns\ShadowedUnitFrames\modules\layout.lua)
    1.1. paste (replace) with this code

    -- Setup text
    function Layout:SetupFontString(fontString, extraSize)
    local size = ShadowUF.db.profile.font.size + (extraSize or 0)
    if( size <= 0 ) then size = 1 end

    fontString:SetFont(mediaPath.font, size, ShadowUF.db.profile.font.extra)

    if( ShadowUF.db.profile.font.shadowColor and ShadowUF.db.profile.font.shadowX and ShadowUF.db.profile.font.shadowY )then
    --fontString:SetShadowColor(ShadowUF.db.profile.font.shadowColor.r,ShadowUF.db.profile.font.shadowColor.g, ShadowUF.db.profile.font.shadowColor.b, ShadowUF.db.profile.font.shadowColor.a)
    --fontString:SetShadowOffset(ShadowUF.db.profile.font.shadowX, ShadowUF.db.profile.font.shadowY)

    fontString:SetShadowColor(0, 0, 0, 0)
    fontString:SetShadowOffset(0, 0)
    else
    fontString:SetShadowColor(0, 0, 0, 0)
    fontString:SetShadowOffset(0, 0)
    end
    end

    2. Icon stack - font change "ttf" (Interface\AddOns\ShadowedUnitFrames\modules\auras.lua)
    2.1. paste (replace) with this - ("Interface\\AddOns\\LightUI\\Media\\Fonts\\AvantGardeCTT.ttf"
    3. Icon Size - more to "max" value (Interface\AddOns\ShadowedUF_Options\config.lua)
    4. Width weight - more to "max" value (Interface\AddOns\ShadowedUF_Options\config.lua)
    6. x/y position limit - more to "1000" value (Interface\AddOns\ShadowedUF_Options\config.lua)

    Last edited by Fakelessgaming3 mins ago
  • Fakelessgaming added the tags Enhancement New Sep 14, 2021
  • BIGBON posted a comment Sep 27, 2021

     You help me so much!!! Thank you!

     

    Agree with you, aura size have a very small limit and x/y position limit for unit frame auras.

    And it was so easy ti fix! Thank God I found your comment!

     

    But I dont understand how to fix Icon stack, Icon borders you mean?


To post a comment, please login or register a new account.