This commit is contained in:
2025-10-28 20:11:40 +08:00
parent 935284388c
commit 13facba33a
3 changed files with 29 additions and 1 deletions

View File

@@ -198,6 +198,11 @@
[btn addTarget:self action:@selector(onKeyTapped:) forControlEvents:UIControlEventTouchUpInside];
[row addSubview:btn];
// Shift
if (key.type == KBKeyTypeShift) {
btn.selected = self.shiftOn;
}
[btn mas_makeConstraints:^(MASConstraintMaker *make) {
make.top.bottom.equalTo(row);
if (previous) {