Use RefinementCascade to compose pressability and hoverability
Co-Authored-By: Conrad Irwin <conrad@zed.dev>
This commit is contained in:
parent
569d99a5a1
commit
5996b6b46b
10 changed files with 202 additions and 68 deletions
|
@ -1905,7 +1905,6 @@ impl AppContext {
|
|||
|
||||
fn handle_repaint_window_effect(&mut self, window: AnyWindowHandle) {
|
||||
self.update_window(window, |cx| {
|
||||
cx.layout(false).log_err();
|
||||
if let Some(scene) = cx.paint().log_err() {
|
||||
cx.window.platform_window.present_scene(scene);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue