|
@@ -249,9 +249,15 @@ class BFSubtitleSettingView: UIView {
|
|
|
@objc func wordSizeSetting(sender: UIButton) {
|
|
|
|
|
|
if(sender.tag == 0){
|
|
|
- if(subtitle.setting.subtitleSize > 20){
|
|
|
- subtitle.setting.subtitleSize -= 10
|
|
|
-
|
|
|
+ if(subtitle.setting.subtitleSize > 40){
|
|
|
+ if(subtitle.setting.subtitleSize > 80){
|
|
|
+ subtitle.setting.subtitleSize -= 20
|
|
|
+ }else{
|
|
|
+ subtitle.setting.subtitleSize -= 10
|
|
|
+ }
|
|
|
+ }
|
|
|
+ BFLog(message: "subtitle.setting.subtitleSize - is\(subtitle.setting.subtitleSize )")
|
|
|
+ if(subtitle.setting.subtitleSize > 40){
|
|
|
lastSelectwordSizeBtn.setImage(imageInRecordScreenKit(by: "wordSizeSetting+_h"), for: .normal)
|
|
|
|
|
|
sender.setImage(imageInRecordScreenKit(by: "wordSizeSetting-_h"), for: .normal)
|
|
@@ -261,7 +267,16 @@ class BFSubtitleSettingView: UIView {
|
|
|
|
|
|
}else if(sender.tag == 1){
|
|
|
if(subtitle.setting.subtitleSize < 120){
|
|
|
- subtitle.setting.subtitleSize += 10
|
|
|
+ if(subtitle.setting.subtitleSize >= 80){
|
|
|
+ subtitle.setting.subtitleSize += 20
|
|
|
+ }else{
|
|
|
+ subtitle.setting.subtitleSize += 10
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+ BFLog(message: "subtitle.setting.subtitleSize + is\(subtitle.setting.subtitleSize )")
|
|
|
+
|
|
|
+ if(subtitle.setting.subtitleSize < 120){
|
|
|
sender.setImage(imageInRecordScreenKit(by: "wordSizeSetting+_h"), for: .normal)
|
|
|
lastSelectwordSizeBtn.setImage(imageInRecordScreenKit(by: "wordSizeSetting-_h"), for: .normal)
|
|
|
}else{
|