Skip to content

Conversation

@chausner
Copy link

@chausner chausner commented Oct 24, 2025

This implements a fix for #678.

Comment on lines +3142 to +3145
{
let mut last_node = self.tree.last_node.borrow_mut();
last_node.attributes.toggle_focus_on_click = true;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding toggle_focus_on_click I wonder if you could do something like this here:

if contains_focus && self.button_activated() {
    self.toss_focus_up();
    return false;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants