refactor: Clean Architecture - Separate domain (CropRegion) from UI (crop_model)

- CropRegion moved to domain/document/operations/crop.rs (pure model)
- crop_types.rs renamed to crop_model.rs (honest UI model name)
- DragHandle and CropSelection stay in UI layer (where they belong)
- Clean separation: Domain has no UI concerns, UI imports from Domain
This commit is contained in:
wfx 2026-02-04 16:46:41 +01:00
parent be956f701b
commit 531cfef715
6 changed files with 83 additions and 38 deletions

View file

@ -18,7 +18,7 @@ use cosmic::{
},
};
use crate::ui::widgets::{CropSelection, DragHandle};
use crate::ui::widgets::crop_model::{CropSelection, DragHandle};
use crate::ui::AppMessage;
// Visual constants