# Fix project-panel double click file support on Windows \(\#10917\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7065da2b984e7aaa3e5e6e04bdb2c5168985ed66)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7065da2b984e7aaa3e5e6e04bdb2c5168985ed66

Requested commit: 7065da2b984e7aaa3e5e6e04bdb2c5168985ed66

Commit: 7065da2b984e7aaa3e5e6e04bdb2c5168985ed66

Tree: 7eda7335501c036bcc90ed786d50fc19016899fd

Author: Jason Lee

Committer: GitHub

## Message

```
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.


https://github.com/zed-industries/zed/commit/7dccbd8e3b61c48ae174807a4023332b7c1df06a#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)
```

## Parents

- [0d6fb08b67e26f5e6abd14ff51b3a9ba1d89b9c0](https://git.cafe/gitcafe/zed/commit/0d6fb08b67e26f5e6abd14ff51b3a9ba1d89b9c0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7065da2b984e7aaa3e5e6e04bdb2c5168985ed66?format=markdown)
