mirror of
https://github.com/damus-io/notedeck.git
synced 2024-10-18 11:13:23 +00:00
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:
parent
7fe3d5e99f
commit
56af979c21
BIN
assets/damus_rounded_80.png
Normal file
BIN
assets/damus_rounded_80.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user