Examples: SDL3+Metal4: fixed bad merge.
This commit is contained in:
parent
93bd4f0adb
commit
81c008f90d
@ -95,7 +95,6 @@ int main(int, char**)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Setup scaling
|
// Setup scaling
|
||||||
ImGuiStyle& style = ImGui::GetStyle();
|
|
||||||
style.ScaleAllSizes(main_scale); // Bake a fixed style scale. (until we have a solution for dynamic style scaling, changing this requires resetting Style + calling this again)
|
style.ScaleAllSizes(main_scale); // Bake a fixed style scale. (until we have a solution for dynamic style scaling, changing this requires resetting Style + calling this again)
|
||||||
style.FontScaleDpi = main_scale; // Set initial font scale. (in docking branch: using io.ConfigDpiScaleFonts=true automatically overrides this for every window depending on the current monitor)
|
style.FontScaleDpi = main_scale; // Set initial font scale. (in docking branch: using io.ConfigDpiScaleFonts=true automatically overrides this for every window depending on the current monitor)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user