mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
imgui: update imgui to v1.92.7, update dx9 backend to latest (#605)
This commit is contained in:
@@ -185,7 +185,7 @@ void overlay::SpiceOverlay::init() {
|
||||
if (UI_SCALE_PERCENT.has_value()) {
|
||||
const auto scale = static_cast<float>(UI_SCALE_PERCENT.value()) / 100.f;
|
||||
ImGui::GetStyle().ScaleAllSizes(scale);
|
||||
ImGui::GetIO().FontGlobalScale = scale;
|
||||
ImGui::GetStyle().FontScaleMain = scale;
|
||||
}
|
||||
|
||||
// based on CrimsonVesuvius theme from
|
||||
@@ -283,7 +283,7 @@ void overlay::SpiceOverlay::init() {
|
||||
io.FontAllowUserScaling = true;
|
||||
|
||||
// add default font
|
||||
io.Fonts->AddFontDefault();
|
||||
io.Fonts->AddFontDefaultBitmap();
|
||||
|
||||
// add fallback fonts for missing glyph ranges
|
||||
ImFontConfig config {};
|
||||
|
||||
Reference in New Issue
Block a user