mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
Core: Pass the MouseEvent by reference
(Prepare to add non-copy data in it)
This commit is contained in:
parent
14be95b6a7
commit
47a556d0e7
23 changed files with 142 additions and 150 deletions
|
|
@ -224,7 +224,7 @@ public:
|
|||
void dispatch_pointer_event(const cbindgen_private::MouseEvent &event)
|
||||
{
|
||||
private_api::assert_main_thread();
|
||||
cbindgen_private::slint_windowrc_dispatch_pointer_event(&inner, event);
|
||||
cbindgen_private::slint_windowrc_dispatch_pointer_event(&inner, &event);
|
||||
}
|
||||
|
||||
/// Registers a font by the specified path. The path must refer to an existing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue