Parcourir la source

Log winit events at trace level

Johannes Hofmann il y a 7 ans
Parent
révision
d9d2dd7e3c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/main.rs

+ 1
- 0
src/main.rs Voir le fichier

@@ -90,6 +90,7 @@ fn handle_event(
90 90
     sources: &mut TileSources,
91 91
     marker_rx: &mpsc::Receiver<Vec<LatLonDeg>>,
92 92
 ) -> Action {
93
+    trace!("{:?}", event);
93 94
     match *event {
94 95
         Event::Awakened => {
95 96
             for pos in marker_rx.try_iter().flat_map(|c| c.into_iter()) {