Tencent / QMUI_iOS

QMUI iOS——致力于提高项目 UI 开发效率的解决方案
http://qmuiteam.com/ios
Other
7.08k stars 1.38k forks source link

QMUIButton.highlightedBackgroundColor 没有兼容 qmui_maskedCorners #1246

Closed MoLice closed 3 years ago

MoLice commented 3 years ago

Bug 表现

QMUIButton *button = QMUIButton.new;
button.highlightedBackgroundColor = UIColorRed;
button.layer.cornerRadius = 10;
button.layer.qmui_maskedCorners = QMUILayerMinXMinYCorner|QMUILayerMinXMaxYCorner;

截图

Normal 时:

Highlighted 时:

其他信息

MoLice commented 3 years ago

已发布 4.3.0 修复该问题。