Skip to content

Commit

Permalink
Disable timer for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredoconnell committed Jan 9, 2023
1 parent 491fa63 commit 9c6a9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/chat_window_widget.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl Widget<AppState> for ChatWindowWidget {
match event {
Event::WindowConnected => {
// Start the timer when the application launches
self.location_timer_token = ctx.request_timer(LOCATION_CHECK_TIMER_INTERVAL);
//self.location_timer_token = ctx.request_timer(LOCATION_CHECK_TIMER_INTERVAL);
}
Event::Timer(id) => {
if *id == self.location_timer_token {
Expand Down Expand Up @@ -245,4 +245,4 @@ fn get_dock_origin(monitor: &Option<Monitor>, window_size: &Size) -> druid::Poin
let monitor_working_area = monitor.as_ref().unwrap().virtual_work_rect();
let pane_dock_origin_rect = druid::Point::new(monitor_working_area.x1 - window_size.width, monitor_working_area.y1 - window_size.height);
pane_dock_origin_rect
}
}

0 comments on commit 9c6a9f9

Please sign in to comment.