Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion plugins/rust-explorer/src/preview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,12 @@ unsafe extern "system" fn list_proc(h: HWND, m: u32, wp: WPARAM, lp: LPARAM, _id
let mut t = TRACKMOUSEEVENT { cbSize: size_of::<TRACKMOUSEEVENT>() as u32, dwFlags: TME_HOVER | TME_LEAVE, hwndTrack: h, dwHoverTime: 400 };
TrackMouseEvent(&mut t);
}
WM_MOUSEHOVER => ask(h),
// ours alone (TME_HOVER above): the list view selects the row under the pointer on WM_MOUSEHOVER once it has been
// clicked, so passing it on made every row the pointer rested on the selection (#230)
WM_MOUSEHOVER => {
ask(h);
return 0;
}
WM_IMAGE => {
if wp == ASKED.get() && ROW.get() >= 0 {
show(h, lp);
Expand Down
Loading