impr: Replace icon with Papyrus icon.

Special thanks to @varlesh and @morganist
See https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/3909
This commit is contained in:
WerWolv
2025-01-18 11:55:17 +01:00
parent bf249cdafe
commit 8c7e1a3b2d
13 changed files with 40 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ namespace hex::plugin::builtin {
// Draw the ImHex icon
if (!m_logoTexture.isValid())
m_logoTexture = ImGuiExt::Texture::fromImage(romfs::get("assets/common/logo.png").span(), ImGuiExt::Texture::Filter::Linear);
m_logoTexture = ImGuiExt::Texture::fromSVG(romfs::get("assets/common/logo.svg").span(), 0, 0, ImGuiExt::Texture::Filter::Linear);
ImGui::Image(m_logoTexture, scaled({ 100, 100 }));
if (ImGui::IsItemClicked()) {