Skip to content

Commit 6452a84

Browse files
committed
Update tee_morphosis
1 parent b789501 commit 6452a84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tracing-subscriber = { version = "^0.3", features = ["env-filter"] }
1515
serde = { version = "^1", features = ["derive"] }
1616
serde_json = { version = "1" }
1717
thiserror = "^2"
18-
tee_morphosis = "1.3.0"
18+
tee_morphosis = "1.3.1"
1919
image = { version = "0.25.8", default-features = false }
2020
reqwest = "0.12.24"
2121
dashmap = { version = "6.1.0", features = ["rayon", "serde"] }

src/rsync/lock.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,18 +197,18 @@ impl LockStore {
197197
move || {
198198
Tee::new(uv.into(), ImageFormat::Png).map(|mut tee| {
199199
if let Some(value) = query.body {
200-
tee.apply_hsv_to_parts(
200+
tee.apply_hsl_to_parts(
201201
ddnet_color_to_hsl(value),
202202
&[TeePart::Body, TeePart::BodyShadow],
203203
);
204204
}
205205
if let Some(value) = query.feet {
206-
tee.apply_hsv_to_parts(
206+
tee.apply_hsl_to_parts(
207207
ddnet_color_to_hsl(value),
208208
&[TeePart::Feet, TeePart::FeetShadow],
209209
);
210210
}
211-
tee.compose_default(TEE_SKIN_LAYOUT)
211+
tee.compose_png(TEE_SKIN_LAYOUT, tee_morphosis::tee::parts::EyeType::Happy)
212212
})
213213
},
214214
)

0 commit comments

Comments
 (0)