Logo
Explore Help
Sign In
oak-team/oak-gpui
Watch 3
Star 0
Fork 0
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
42583c1141b68f655335769f4770b3ceea84c263
oak-gpui/crates/recent_projects/src
T
History
Jason Lee 1a23115773 gpui: Unify track_scroll method to receive a reference type (#43518)
Release Notes:

- N/A

This PR to change the `track_scroll` method to receive a reference type
like the
[Div#track_scroll](https://docs.rs/gpui/latest/gpui/trait.StatefulInteractiveElement.html#method.track_scroll),
[Div#track_focus](https://docs.rs/gpui/latest/gpui/trait.InteractiveElement.html#method.track_focus).


```diff
- .track_scroll(self.scroll_handle.clone())
+ .track_scroll(&self.scroll_handle)

- .vertical_scrollbar_for(self.scroll_handle.clone(), window, cx)
+ .vertical_scrollbar_for(&self.scroll_handle, window, cx)
```


https://github.com/zed-industries/zed/blob/56a2f9cfcf0c6a3c38f596b58002953763cd890f/crates/gpui/src/elements/div.rs#L1088-L1093


https://github.com/zed-industries/zed/blob/56a2f9cfcf0c6a3c38f596b58002953763cd890f/crates/gpui/src/elements/div.rs#L613-L620
2025-11-26 18:03:42 +01:00
..
disconnected_overlay.rs
…
recent_projects.rs
Add mouse-based affordance to open a recent project in new window (#43373)
2025-11-23 19:40:33 -03:00
remote_connections.rs
releases: Add build number to Nightly builds (#42990)
2025-11-24 13:34:04 +01:00
remote_servers.rs
gpui: Unify track_scroll method to receive a reference type (#43518)
2025-11-26 18:03:42 +01:00
ssh_config.rs
…
wsl_picker.rs
…
Powered by Gitea Version: 1.27.2 Page: 1097ms Template: 13ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API