v1.2.2: text measuring improvements, minor code clean

fixed some clippy warnings, ignored many that I do not care about. also, added demo video and updated koxinga image
This commit is contained in:
stjet
2025-09-28 04:39:41 +00:00
parent 10daa9982b
commit 40f6795163
24 changed files with 173 additions and 119 deletions

View File

@@ -241,9 +241,11 @@ impl WindowLike for Draw {
impl Draw {
pub fn new() -> Self {
let mut d: Self = Default::default();
d.current_linewidth = 1;
d
//apparently this is legal. thanks clippy
Self {
current_linewidth: 1,
..Default::default() //no comma here allowed though??
}
}
}