windows: Fix title bar not responsing (#31532)
Closes #31431 Release Notes: - N/A
This commit is contained in:
parent
28d6362964
commit
ba6b5a59f9
1 changed files with 2 additions and 1 deletions
|
@ -1006,7 +1006,8 @@ fn handle_nc_mouse_down_msg(
|
||||||
click_count,
|
click_count,
|
||||||
first_mouse: false,
|
first_mouse: false,
|
||||||
});
|
});
|
||||||
let handled = !func(input).propagate;
|
let result = func(input.clone());
|
||||||
|
let handled = !result.propagate || result.default_prevented;
|
||||||
state_ptr.state.borrow_mut().callbacks.input = Some(func);
|
state_ptr.state.borrow_mut().callbacks.input = Some(func);
|
||||||
|
|
||||||
if handled {
|
if handled {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue