mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-08 03:54:35 +00:00
M5.7: the quick bar's comments no longer say Fill & Sign widens it
The Text and Date controls now fit the 32 pt column, so the bar stays at its narrowest with every tool. The centring still measures the rendered width.
This commit is contained in:
1 parent
b304799812
commit
84aa947c0f
1 file changed
+1
-1
@@ -315,7 +315,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn a_wider_quick_bar_centres_by_its_own_width_and_needs_a_wider_margin() {
|
||||
// Fill & Sign's Text tool widens the bar to 70 pt: it centres by that, and 72 pt no longer holds it.
|
||||
// A 70 pt bar centres by that, and 72 pt no longer holds it.
|
||||
assert_eq!(quick_bar_offset(120.0, 70.0), 15.0);
|
||||
assert_eq!(quick_bar_offset(72.0, 70.0), 14.0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user