fix(ui-gpui): re-enable start_blinking (was disabled for testing)
This commit is contained in:
parent
3859317477
commit
640e2bd494
2 changed files with 2 additions and 11 deletions
|
|
@ -102,7 +102,7 @@ impl ProjectBox {
|
|||
|
||||
/// Initialize sub-views. Must be called after the ProjectBox entity is created.
|
||||
pub fn init_subviews(&mut self, cx: &mut Context<Self>) {
|
||||
eprintln!("[ProjectBox] init_subviews for {}", self.project.name);
|
||||
// Initialize sub-views after entity registration
|
||||
|
||||
// Shared blink state — separate entity, ProjectBox reads it in render.
|
||||
// cx.notify() on BlinkState only dirties views that .read() it (ProjectBox),
|
||||
|
|
@ -132,9 +132,6 @@ impl ProjectBox {
|
|||
|
||||
impl Render for ProjectBox {
|
||||
fn render(&mut self, _window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
|
||||
eprintln!("[ProjectBox::render] {} blink_visible={:?}",
|
||||
self.project.name,
|
||||
self.blink_state.as_ref().map(|bs| bs.read(cx).visible));
|
||||
let accent = accent_color(self.project.accent_index);
|
||||
let active_tab = self.project.active_tab;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue