|
@@ -306,8 +306,10 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
// 卡点编辑 btn
|
|
// 卡点编辑 btn
|
|
lazy var pointEditerBtn: UIButton = {
|
|
lazy var pointEditerBtn: UIButton = {
|
|
let pointEdterBtn = UIButton(type: .custom)
|
|
let pointEdterBtn = UIButton(type: .custom)
|
|
- pointEdterBtn.setImage(UIImage().BF_Image(named: "pointEditerBtn_n"), for: .normal)
|
|
|
|
- pointEdterBtn.setImage(UIImage().BF_Image(named: "pointEditerBtn_h").withRenderingMode(.alwaysTemplate), for: .selected)
|
|
|
|
|
|
+
|
|
|
|
+ pointEdterBtn.setImage(UIImage.moduleImage(named: "pointEditerBtn_n", moduleName: "BFFramework", isAssets: false), for: .normal)
|
|
|
|
+
|
|
|
|
+ pointEdterBtn.setImage(UIImage.moduleImage(named: "pointEditerBtn_h", moduleName: "BFFramework", isAssets: false)?.withRenderingMode(.alwaysTemplate), for: .selected)
|
|
pointEdterBtn.tintColor = UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue)
|
|
pointEdterBtn.tintColor = UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue)
|
|
pointEdterBtn.addTarget(self, action: #selector(pointEditerBtnClick(sender:)), for: .touchUpInside)
|
|
pointEdterBtn.addTarget(self, action: #selector(pointEditerBtnClick(sender:)), for: .touchUpInside)
|
|
pointEdterBtn.isSelected = true
|
|
pointEdterBtn.isSelected = true
|
|
@@ -316,10 +318,10 @@ class PQStuckPointEditerController: PQBaseViewController {
|
|
}()
|
|
}()
|
|
|
|
|
|
// 音乐编辑 btn
|
|
// 音乐编辑 btn
|
|
- lazy var musicEditerBtn: UIButton = {
|
|
|
|
|
|
+ lazy var musicEditerBtn: UIButton = {
|
|
let musicEditerBtn = UIButton(type: .custom)
|
|
let musicEditerBtn = UIButton(type: .custom)
|
|
- musicEditerBtn.setImage(UIImage().BF_Image(named: "musicEditerBtn_n"), for: .normal)
|
|
|
|
- musicEditerBtn.setImage(UIImage().BF_Image(named: "musicEditerBtn_h").withRenderingMode(.alwaysTemplate), for: .selected)
|
|
|
|
|
|
+ musicEditerBtn.setImage(UIImage.moduleImage(named: "musicEditerBtn_n", moduleName: "BFFramework", isAssets: false), for: .normal)
|
|
|
|
+ musicEditerBtn.setImage(UIImage.moduleImage(named: "musicEditerBtn_h", moduleName: "BFFramework", isAssets: false)?.withRenderingMode(.alwaysTemplate), for: .selected)
|
|
musicEditerBtn.tintColor = UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue)
|
|
musicEditerBtn.tintColor = UIColor.hexColor(hexadecimal: PQBFConfig.shared.styleColor.rawValue)
|
|
musicEditerBtn.addTarget(self, action: #selector(musicEditerBtnClick(sender:)), for: .touchUpInside)
|
|
musicEditerBtn.addTarget(self, action: #selector(musicEditerBtnClick(sender:)), for: .touchUpInside)
|
|
musicEditerBtn.adjustsImageWhenHighlighted = false
|
|
musicEditerBtn.adjustsImageWhenHighlighted = false
|