Skip to content

输入所有数字之后, 再次点击editing, 光标依旧在末尾闪烁 #10

@Leesoon

Description

@Leesoon

原代码
if (index >= self.labels.count) index = self.labels.count - 1;
HWCursorLabel *label = [self.labels objectAtIndex:index];
[label startAnimating];
self.currentLabel = label;

修改为
if (index < self.labels.count) {
HWCursorLabel *label = [self.labels objectAtIndex:index];
[label startAnimating];
self.currentLabel = label;
}
即可

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions