swap to new icon

macos-click-through
Keith Simmons 3 years ago
parent 4159c47ff4
commit 7a1fa123b8

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

@ -2,7 +2,7 @@ fn main() {
#[cfg(windows)] #[cfg(windows)]
{ {
let mut res = winres::WindowsResource::new(); let mut res = winres::WindowsResource::new();
res.set_icon("assets/nvim.ico"); res.set_icon("assets/neovide.ico");
res.compile().expect("Could not attach exe icon"); res.compile().expect("Could not attach exe icon");
} }
} }

@ -211,7 +211,7 @@ pub fn start_loop(
renderer: Renderer, renderer: Renderer,
) { ) {
let icon = { let icon = {
let icon_data = Asset::get("nvim.ico").expect("Failed to read icon data"); let icon_data = Asset::get("neovide.ico").expect("Failed to read icon data");
let icon = load_from_memory(&icon_data).expect("Failed to parse icon data"); let icon = load_from_memory(&icon_data).expect("Failed to parse icon data");
let (width, height) = icon.dimensions(); let (width, height) = icon.dimensions();
let mut rgba = Vec::with_capacity((width * height) as usize * 4); let mut rgba = Vec::with_capacity((width * height) as usize * 4);

Loading…
Cancel
Save