GUI: make sliders right-clickable
This commit is contained in:
parent
f8e7dd7214
commit
f8046facfc
4 changed files with 38 additions and 36 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue