Giter Club home page Giter Club logo

Comments (4)

lexrus avatar lexrus commented on August 24, 2024 1

谢谢你的回复,我试一下真机。
另外,我想要把阴影的 radius 改小一些,并且让文字水平居中,好像都不可以设置?

from popmenu.

lexrus avatar lexrus commented on August 24, 2024

+1 for this issue.
popmenu

But anyway, this lib is awesome. Thank you.

from popmenu.

CaliCastle avatar CaliCastle commented on August 24, 2024

@lexrus hi, thank you for choosing PopMenu and since I saw you're located in Shanghai then maybe we can resolve in Mandarin: 😄
这个黑色背景问题只存在于Xcode的Simulator模拟机,我用了真机测试并没有出现这个按住滑动的问题,我暂时不是很确定具体原因,不过推荐你试试build到真机中试试看还会不会发生此情况,如果会的话我会开个新issue去修复这个问题。
(P.S. 目前默认的highlight color是根据背景色而变的)

from popmenu.

CaliCastle avatar CaliCastle commented on August 24, 2024

@lexrus

修改shadow radius的话暂时不支持,我已添加到to-do,感谢提议 👍 下一个版本更新

目前设置在PopMenuViewController的第263行:

fileprivate func configureContentView() {
    ...
    containerView.addShadow(offset: .init(width: 0, height: 1), opacity: 0.5, radius: 20)
}

from popmenu.

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.