Skip to content

Commit

Permalink
Update which views are hovered after every re-layout (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex authored Jan 26, 2025
1 parent 0be9f67 commit 0a18dcf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/window_handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,12 @@ impl WindowHandle {

self.compute_layout();

// Mouse move with current pos, just to update which views are hovered
self.event(Event::PointerMove(PointerMoveEvent {
pos: self.cursor_position,
modifiers: self.modifiers,
}));

taffy_duration
}

Expand Down

0 comments on commit 0a18dcf

Please sign in to comment.