mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
GUI: mobile padding
This commit is contained in:
parent
2741167331
commit
e7cfde9a2b
1 changed files with 4 additions and 0 deletions
|
@ -3284,6 +3284,10 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
||||||
sty.FrameShading=(float)settings.guiColorsShading/100.0f;
|
sty.FrameShading=(float)settings.guiColorsShading/100.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mobileUI) {
|
||||||
|
sty.FramePadding=ImVec2(8.0f,6.0f);
|
||||||
|
}
|
||||||
|
|
||||||
sty.ScaleAllSizes(dpiScale);
|
sty.ScaleAllSizes(dpiScale);
|
||||||
|
|
||||||
ImGui::GetStyle()=sty;
|
ImGui::GetStyle()=sty;
|
||||||
|
|
Loading…
Reference in a new issue