fix: large-wallet sync starvation + shutdown/console-flash UX (Windows full node) #2

Open
DanS wants to merge 12 commits from fix/balance-poll-sync-contention into dev
Showing only changes of commit 558cfcbe56 - Show all commits

View File

@@ -1502,16 +1502,11 @@ void App::ensureLogoTexture()
} }
} }
// 0) DragonX mark — rasterize the embedded SVG recolored to the theme (body = accent, detail = white) // The header / top-left / About branding is the ObsidianDragon PRODUCT logo — NOT the DragonX coin
// at ~2x the 128px viewBox for crisp downscaling. This is the branding on every skin; the per-skin // mark (that is coin_logo_tex_ / drgx_emoji_tex_ above). Resolve it below: active-skin override, else
// PNG path below is only a fallback if rasterization ever fails. // the ui.toml header-icon, else the bundled ObsidianDragon dark/light PNG (disk, then embedded).
if (util::LoadTextureFromSvg(embedded::kLogoDragonXSvg, 256, logoAccent,
detailCol, &logo_tex_, &logo_w_, &logo_h_)) {
DEBUG_LOGF("Rendered DragonX SVG logo (%dx%d, accent %08X)\n", logo_w_, logo_h_, logoAccent);
return;
}
// 1) Fallback — theme-override logo from the active skin // 1) theme-override logo from the active skin
const auto* activeSkin = ui::schema::SkinManager::instance().findById( const auto* activeSkin = ui::schema::SkinManager::instance().findById(
ui::schema::SkinManager::instance().activeSkinId()); ui::schema::SkinManager::instance().activeSkinId());
std::string logoPath; std::string logoPath;