| author | |
| committer | |
| log | 73a0686b3eb03e75b195af5554057fd8a3426f51 |
| tree | f79311d9df6643f1f0c47cf8fb8c392b62927137 |
| parent | 6a33e59faf91f545122198920e2d4379d0054e90 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
The reading view's inventory, which every build has, names the editor's outlines
and page content, but their imports were gated on gpu and interaction, so canvas
built only with interaction on. `cargo check -p canvas` and
`cargo check -p canvas --features gpu` build again; both still warn about editor
methods only interaction calls.
Assisted-by: claude-opus-5.51 files changed, 1 insertions(+), 6 deletions(-)
crates/canvas/src/reading.rs+1-6| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | //! it. Text rewraps to the column, pictures shrink to it, and everything else keeps its size. |
| 10 | 10 | |
| 11 | 11 | use crate::{ |
| 12 | editor::{CanvasEditor, EditorError}, | |
| 12 | editor::{CanvasEditor, EditorError, TextOutline, page::Content}, | |
| 13 | 13 | layout::TextEngine, |
| 14 | 14 | }; |
| 15 | 15 | use onestore::{ |
| ... | ... | @@ -18,11 +18,6 @@ use onestore::{ |
| 18 | 18 | }; |
| 19 | 19 | use std::{collections::BTreeMap, ops::Range}; |
| 20 | 20 | |
| 21 | #[cfg(feature = "gpu")] | |
| 22 | use crate::editor::TextOutline; | |
| 23 | #[cfg(feature = "interaction")] | |
| 24 | use crate::editor::page::Content; | |
| 25 | ||
| 26 | 21 | #[cfg(feature = "gpu")] |
| 27 | 22 | pub(crate) struct Column { |
| 28 | 23 | #[cfg(feature = "interaction")] |