commit 56af979c21d79f673bc3623f232224a8e7414cbf
parent 7fe3d5e99f25d45bcd8c359d2f50ddd646de9614
Author: William Casarin <jb55@jb55.com>
Date: Thu, 26 Sep 2024 13:43:53 -0700
panel: rasterize damus logo
Image is set to double the pixel size to reduce artifacts.
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/assets/damus_rounded_80.png b/assets/damus_rounded_80.png
Binary files differ.
diff --git a/src/ui/side_panel.rs b/src/ui/side_panel.rs
@@ -347,7 +347,7 @@ fn search_button() -> impl Widget {
fn expand_side_panel_button() -> impl Widget {
|ui: &mut egui::Ui| -> egui::Response {
let img_size = 40.0;
- let img_data = egui::include_image!("../../assets/damus_rounded.svg");
+ let img_data = egui::include_image!("../../assets/damus_rounded_80.png");
let img = egui::Image::new(img_data).max_width(img_size);
ui.add(img)