PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
Merge origin/main into fix/cleared-default-stays-cleared
KenM76d95ea8710d03
diff --cc crates/forms/src/author/edit.rsindex 0e45f1208,d61cfe28f..db453ea92--- a/crates/forms/src/author/edit.rs+++ b/crates/forms/src/author/edit.rs@@@ -1,6 -1,6 +1,6 @@@use super::look::{BorderStyle, da_string, patch_da, patch_widget_look, redraw_widgets};-use super::tree::{attach, check_place, child_named, clash, detach, ensure_form, inherited, name_parts, own_inherited};+use super::tree::{ancestor_sets, attach, check_place, child_named, clash, detach, ensure_form, inherited, name_parts, own_inherited};- use super::*;+ use super::{Dict, Document, Field, FieldKind, FieldProps, FormError, MIN_FIELD_SIDE, ObjRef, Object, PdfString, fields, flags, invalid};/// Swap width and height, keeping the center. `None` when that is not a usable widget.fn swapped_around_center(r: [f64; 4]) -> Option<[f64; 4]> {