CodeTextDemo icon indicating copy to clipboard operation
CodeTextDemo copied to clipboard

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

Open Leesoon opened this issue 6 years ago • 1 comments

原代码 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; } 即可

Leesoon avatar Mar 14 '19 05:03 Leesoon

没用啊

Liyongcong avatar Apr 18 '19 02:04 Liyongcong