动态化高度比例

This commit is contained in:
2025-11-21 21:50:40 +08:00
parent fd35c5c993
commit 8e93f8f86f
3 changed files with 22 additions and 19 deletions

View File

@@ -10,10 +10,10 @@
#import "KBSkinManager.h"
#import "KBKeyPreviewView.h"
// UI 便
static const CGFloat kKBRowVerticalSpacing = 8.0;
static const CGFloat kKBRowHorizontalInset = 6.0;
static const CGFloat kKBRowHeight = 40.0;
// UI 便 375 稿 KBFit
#define kKBRowVerticalSpacing KBFit(8.0f)
#define kKBRowHorizontalInset KBFit(6.0f)
#define kKBRowHeight KBFit(40.0f)
static const NSTimeInterval kKBBackspaceLongPressMinDuration = 0.35;
static const NSTimeInterval kKBBackspaceRepeatInterval = 0.06;