File tree 1 file changed +2
-2
lines changed
plugins/builtin/source/content
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ namespace hex::plugin::builtin {
76
76
77
77
// Draw banner
78
78
ImGui::SetCursorPos (scaled ({ 25 * bannerSlideIn, 25 }));
79
- const auto bannerSize = s_imhexBanner.getSize () / (1 . 5F * (1 .0F / ImHexApi::System::getGlobalScale ()));
79
+ const auto bannerSize = s_imhexBanner.getSize () / (3 . 0F * (1 .0F / ImHexApi::System::getGlobalScale ()));
80
80
ImGui::Image (
81
81
s_imhexBanner,
82
82
bannerSize,
@@ -443,7 +443,7 @@ namespace hex::plugin::builtin {
443
443
ImHexApi::System::setWindowResizable (false );
444
444
445
445
const auto imageTheme = ThemeManager::getImageTheme ();
446
- s_imhexBanner = ImGuiExt::Texture::fromImage (romfs::get (hex::format (" assets/{}/banner.png " , imageTheme)).span <std::byte>());
446
+ s_imhexBanner = ImGuiExt::Texture::fromSVG (romfs::get (hex::format (" assets/{}/banner.svg " , imageTheme)).span <std::byte>());
447
447
s_compassTexture = ImGuiExt::Texture::fromImage (romfs::get (" assets/common/compass.png" ).span <std::byte>());
448
448
s_globeTexture = ImGuiExt::Texture::fromImage (romfs::get (" assets/common/globe.png" ).span <std::byte>());
449
449
s_screenshotDescriptions = nlohmann::json::parse (romfs::get (" assets/screenshot_descriptions.json" ).string ());
You can’t perform that action at this time.
0 commit comments