GUI: make sliders right-clickable

This commit is contained in:
tildearrow 2022-02-28 22:42:52 -05:00
parent f8e7dd7214
commit f8046facfc
4 changed files with 38 additions and 36 deletions

View file

@ -292,7 +292,7 @@ void FurnaceGUI::drawSettings() {
if (ImGui::SliderFloat("UI scaling factor",&settings.dpiScale,1.0f,3.0f,"%.2fx")) {
if (settings.dpiScale<0.5f) settings.dpiScale=0.5f;
if (settings.dpiScale>3.0f) settings.dpiScale=3.0f;
}
} rightClickable
}
ImGui::Text("Main font");
ImGui::SameLine();