mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Merge pull request #2085 from zed-industries/cleanup-debug-printing
Clean up some debug printing
This commit is contained in:
commit
c22d13286d
1 changed files with 1 additions and 7 deletions
|
@ -317,14 +317,8 @@ impl Presenter {
|
|||
}
|
||||
}
|
||||
|
||||
let t0 = std::time::Instant::now();
|
||||
let is_topmost_window =
|
||||
cx.is_topmost_window_for_position(self.window_id, *position);
|
||||
println!("is_topmost_window => {:?}", t0.elapsed());
|
||||
if is_topmost_window {
|
||||
let t1 = std::time::Instant::now();
|
||||
if cx.is_topmost_window_for_position(self.window_id, *position) {
|
||||
cx.platform().set_cursor_style(style_to_assign);
|
||||
println!("set_cursor_style => {:?}", t1.elapsed());
|
||||
}
|
||||
|
||||
if !event_reused {
|
||||
|
|
Loading…
Reference in a new issue