panel: rasterize damus logo

Image is set to double the pixel size to reduce artifacts.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2024-09-26 13:43:53 -07:00
parent 7fe3d5e99f
commit 56af979c21
2 changed files with 1 additions and 1 deletions

BIN
assets/damus_rounded_80.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -347,7 +347,7 @@ fn search_button() -> impl Widget {
fn expand_side_panel_button() -> impl Widget { fn expand_side_panel_button() -> impl Widget {
|ui: &mut egui::Ui| -> egui::Response { |ui: &mut egui::Ui| -> egui::Response {
let img_size = 40.0; 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); let img = egui::Image::new(img_data).max_width(img_size);
ui.add(img) ui.add(img)