Method
on_resize_up
(&self, e: &mut MouseEvent, _: f32)
Source from the content-addressed store, hash-verified
| 196 | } |
| 197 | |
| 198 | fn on_resize_up(&self, e: &mut MouseEvent, _: f32) { |
| 199 | if !self.resizable { |
| 200 | return; |
| 201 | } |
| 202 | |
| 203 | if self.collapsed { |
| 204 | return; |
| 205 | } |
| 206 | |
| 207 | self.state.borrow_mut().resizing = false; |
| 208 | if let Some(handle) = self.resize_handle.as_ref() { |
| 209 | handle.uncapture() |
| 210 | } |
| 211 | } |
| 212 | |
| 213 | fn on_resize_down(&mut self, e: &mut MouseEvent, _: f32) { |
| 214 | if !self.resizable { |
Callers
nothing calls this directly
Tested by
no test coverage detected