mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user