tree: restack containing float when node is activated
This commit is contained in:
parent
d038df28f7
commit
afe2022953
4 changed files with 15 additions and 1 deletions
|
|
@ -94,9 +94,11 @@ impl ToolOwner for DefaultToolOwner {
|
|||
if state == ToolButtonState::Released {
|
||||
return;
|
||||
}
|
||||
let node = tool.node.get();
|
||||
node.node_restack();
|
||||
let owner = Rc::new(GrabToolOwner {
|
||||
buttons: Default::default(),
|
||||
node: tool.node.get(),
|
||||
node,
|
||||
});
|
||||
tool.tool_owner.owner.set(owner.clone());
|
||||
owner.button(tool, time_usec, button, state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue