ZIm/crates/gpui/src
Jason Lee 7065da2b98
Fix project-panel double click file support on Windows (#10917)
Release Notes:

- Fixed project panel double click to force open file on Windows.

Ref issue: #10898 

@bennetbo 

I saw you was also used `event.down.click_count` in Markdown Preview.


7dccbd8e3b (diff-c8d1735cb347ea08d03198df112343ec50a74de8d50414a6f3be6c6d674c6d19R161)

And this also used in other place:

<img width="870" alt="image"
src="https://github.com/zed-industries/zed/assets/5518/b844e700-b95f-4cd2-987f-9e4305ebdd7c">

## Test demo after updated

Looks like it is no side effect

![2024-04-24 10 17
45](https://github.com/zed-industries/zed/assets/5518/0df4cf06-7448-4014-9df2-f2608a5f5314)
2024-04-25 10:01:24 -07:00
..
app Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
elements Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
keymap Make keymaps reusable across platforms (#10811) 2024-04-22 13:24:25 -07:00
platform Fix project-panel double click file support on Windows (#10917) 2024-04-25 10:01:24 -07:00
text_system Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
window Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
action.rs gpui-macros: Hide autogenerated action types/functions (#10417) 2024-04-11 15:38:47 +02:00
app.rs linux: Primary clipboard (#10534) 2024-04-18 14:54:18 -07:00
arena.rs Log if element arena allocation is >80% 2024-01-24 11:03:28 +01:00
asset_cache.rs gpui: Add SVG rendering to img element and generic asset cache (#9931) 2024-03-29 17:09:49 -07:00
assets.rs Revert "Revert "Revert dependency updates in #9836 (#10089)"" 2024-04-02 13:12:38 -06:00
bounds_tree.rs Fix flickering (#9012) 2024-03-11 10:45:57 +01:00
color.rs GPUI custom window prompts (#8980) 2024-03-06 18:15:06 -08:00
element.rs Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
executor.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
geometry.rs Close the backticks in gpui geometry examples (#10579) 2024-04-15 16:52:19 -07:00
gpui.rs Improve the ergonomics of creating local buffers (#10347) 2024-04-10 08:32:51 -06:00
input.rs Document / lockdown more of GPUI 2024-01-21 14:26:45 -08:00
interactive.rs WIP: Refactor Linux platform implementation (#10227) 2024-04-08 16:40:35 -07:00
key_dispatch.rs Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
keymap.rs chore: Bump Rust version to 1.76 (#7592) 2024-02-09 10:45:39 +02:00
platform.rs linux: Primary clipboard (#10534) 2024-04-18 14:54:18 -07:00
prelude.rs Document / lockdown more of GPUI 2024-01-21 14:26:45 -08:00
scene.rs Add an animation to the LSP checking indicator (#9463) 2024-03-19 10:16:18 -07:00
shared_string.rs Add logic for managing language and theme extensions (#7467) 2024-02-07 15:14:50 -05:00
shared_uri.rs Rework loading images from files (#7088) 2024-01-30 11:26:02 -05:00
style.rs Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
styled.rs New revision of the Assistant Panel (#10870) 2024-04-23 16:23:26 -07:00
subscription.rs Switch Arc<Mutex<Keymap>> to Rc<RefCell<Keymap>>, a relic of the GPUI2 port. 2024-01-22 19:30:38 -08:00
svg_renderer.rs Update resvg to fix panic (#10393) 2024-04-10 20:12:05 -06:00
taffy.rs Introduce autoscroll support for elements (#10889) 2024-04-23 15:14:22 +02:00
test.rs Throttle the sending of UpdateFollowers messages (#8918) 2024-03-06 14:58:41 +01:00
text_system.rs Introduce autoscroll support for elements (#10889) 2024-04-23 15:14:22 +02:00
util.rs Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
view.rs Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00
window.rs Merge ElementContext into WindowContext (#10979) 2024-04-25 12:54:39 +02:00