| ... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
| 9 | //! it. Text rewraps to the column, pictures shrink to it, and everything else keeps its size. | 9 | //! it. Text rewraps to the column, pictures shrink to it, and everything else keeps its size. |
| 10 | | 10 | |
| 11 | use crate::{ | 11 | use crate::{ |
| 12 | editor::{CanvasEditor, EditorError}, | 12 | editor::{CanvasEditor, EditorError, TextOutline, page::Content}, |
| 13 | layout::TextEngine, | 13 | layout::TextEngine, |
| 14 | }; | 14 | }; |
| 15 | use onestore::{ | 15 | use onestore::{ |
| ... | @@ -18,11 +18,6 @@ use onestore::{ | ... | @@ -18,11 +18,6 @@ use onestore::{ |
| 18 | }; | 18 | }; |
| 19 | use std::{collections::BTreeMap, ops::Range}; | 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 | #[cfg(feature = "gpu")] | 21 | #[cfg(feature = "gpu")] |
| 27 | pub(crate) struct Column { | 22 | pub(crate) struct Column { |
| 28 | #[cfg(feature = "interaction")] | 23 | #[cfg(feature = "interaction")] |