(self)
| 37 | } |
| 38 | } |
| 39 | pub(crate) fn force_cpu_picking(self) -> bool { |
| 40 | #[cfg(feature = "canvas")] |
| 41 | { |
| 42 | matches!(self, Self::Canvas) |
| 43 | } |
| 44 | #[cfg(not(feature = "canvas"))] |
| 45 | { |
| 46 | let _ = self; |
| 47 | false |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | const SELECTION_FILL_RGBA: [f32; 4] = [0.2, 0.6, 1.0, 0.2]; |
no outgoing calls
no test coverage detected