Skip to content

Commit e4da20a

Browse files
Kasper JungeRalphify
authored andcommitted
refactor: deduplicate Live construction by having _restart_compact_unlocked delegate to _start_compact_live_unlocked
Both _restart_compact_unlocked and _start_compact_live_unlocked built identical Live objects (same console, transient=True, refresh rate). Having _restart_compact_unlocked call _start_compact_live_unlocked eliminates the duplication so any future change to Live parameters (e.g. refresh rate) only needs to happen in one place. Co-authored-by: Ralphify <noreply@ralphify.co>
1 parent 4c89ca9 commit e4da20a

2 files changed

Lines changed: 602 additions & 118 deletions

File tree

0 commit comments

Comments
 (0)