This commit is contained in:
daa 2018-05-07 22:13:28 +03:00
parent 2dc10aa611
commit c2a3c74e70

View File

@ -72,7 +72,7 @@ impl Surface {
let surface = drawing_area
.get_window()
.unwrap()
.create_similar_surface(cairo::Content::Color, alloc.width, alloc.height)
.create_similar_surface(cairo::Content::ColorAlpha, alloc.width, alloc.height)
.unwrap();
let ctx = cairo::Context::new(&surface);