Giter Site home page Giter Site logo

Comments (9)

frozn avatar frozn commented on August 31, 2024

I fixed this issue. The locking feature to prevent backdrop changes hasn't been applied to the frames. Seems fine now. Do you agree?

from tiptac.

hobulian avatar hobulian commented on August 31, 2024

Agreed!

from tiptac.

frozn avatar frozn commented on August 31, 2024

Faster than light responses... nice! 😎👍

from tiptac.

hobulian avatar hobulian commented on August 31, 2024

Hmm has problem with this again
https://imgur.com/a/JCvJ6I8
Sometimes tiptac border seems dimmed and sometimes not. Reloading causes this problem. Think it's priority problem between addons.

from tiptac.

frozn avatar frozn commented on August 31, 2024

Hm, can't reproduce it with ElvUI installed, even after multiple /reload ... 🤔

from tiptac.

hobulian avatar hobulian commented on August 31, 2024

Oh.. I think it was not elv.
It was Windtools, Addon using with Elv(https://www.curseforge.com/wow/addons/elvui-windtools) causes problem.
When I use Windtool's skinning shadow function
https://imgur.com/a/XQ8tI7a
It sometimes causes problem.

from tiptac.

frozn avatar frozn commented on August 31, 2024

This is out of TipTacs scope. ElvUI_WindTools creates a new shadow frame at the original frame (frame.shadow) and sets it the following way:

    local shadow = CreateFrame("Frame", nil, frame, "BackdropTemplate")
    shadow:SetFrameStrata(frame:GetFrameStrata())
    shadow:SetFrameLevel(frame:GetFrameLevel() or 1)
    shadow:SetOutside(frame, size, size)
    shadow:SetBackdrop({edgeFile = LSM:Fetch("border", "ElvUI GlowBorder"), edgeSize = size + 1})
    shadow:SetBackdropColor(r, g, b, 0)
    shadow:SetBackdropBorderColor(r, g, b, 0.618)

The frame strata and level is the same, so it's random which frame is in front. In my opinion, the following adjustment in ElvUI_WindTools is needed:

    local shadowFrameLevel = 1
    if frame:GetFrameLevel() then
        shadowFrameLevel = frame:GetFrameLevel() - 1
        if shadowFrameLevel < 0 then
            shadowFrameLevel = 0
        end
    end
    shadow:SetFrameLevel(shadowFrameLevel)

from tiptac.

hobulian avatar hobulian commented on August 31, 2024

WOW. That was quite a lot of help. Will tell WindTool's author about this. Thanks

from tiptac.

frozn avatar frozn commented on August 31, 2024

np 😉

from tiptac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.