diff --git a/src/layout/text.rs b/src/layout/text.rs index 377c800..63c018d 100644 --- a/src/layout/text.rs +++ b/src/layout/text.rs @@ -118,6 +118,7 @@ impl TextData { let pos = (x as i32 + pos.left, y as i32 + pos.top); if let Some(pixel) = pixels.get_mut(&pos) { for i in 0..4 { + // TODO: no clue if proper alpha blending should be done pixel[i] = color[i].saturating_add(pixel[i]); } } else {