(position: tauri::LogicalPosition<f64>)
| 132 | } |
| 133 | |
| 134 | fn remember_agent_companion_window_position(position: tauri::LogicalPosition<f64>) { |
| 135 | match agent_companion_window_last_position().write() { |
| 136 | Ok(mut last_position) => { |
| 137 | *last_position = Some(position); |
| 138 | } |
| 139 | Err(error) => { |
| 140 | warn!( |
| 141 | "Failed to remember Agent companion window position: {}", |
| 142 | error |
| 143 | ); |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | fn remembered_agent_companion_window_position() -> Option<tauri::LogicalPosition<f64>> { |
| 149 | agent_companion_window_last_position() |
no test coverage detected