Optimize grouping of path sprites by layer/atlas
Avoid filtering sprites redundantly on every layer and allocating intermediate vectors to group by atlas. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
co-authored by
Max Brunsfeld
parent
4cdce070c4
commit
77b6a29f5f
@@ -1076,6 +1076,7 @@ impl BufferView {
|
||||
}
|
||||
|
||||
fn blink_cursors(&mut self, epoch: usize, ctx: &mut ViewContext<Self>) {
|
||||
return;
|
||||
if epoch == self.blink_epoch && self.focused && !self.blinking_paused {
|
||||
self.cursors_visible = !self.cursors_visible;
|
||||
ctx.notify();
|
||||
|
||||
Reference in New Issue
Block a user