Add padding in settings
This commit is contained in:
committed by
Guillaume Meunier
parent
7dcb19f4db
commit
4d50e35200
@@ -334,6 +334,8 @@ void scenes::lobby::gui_settings()
|
||||
{
|
||||
ImGuiStyle & style = ImGui::GetStyle();
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(20, 20));
|
||||
|
||||
{
|
||||
const auto & refresh_rates = session.get_refresh_rates();
|
||||
float current = session.get_current_refresh_rate();
|
||||
@@ -395,6 +397,8 @@ void scenes::lobby::gui_settings()
|
||||
save_config();
|
||||
vibrate_on_hover();
|
||||
|
||||
ImGui::PopStyleVar();
|
||||
|
||||
if (show_performance_metrics)
|
||||
{
|
||||
float win_width = ImGui::GetWindowSize().x;
|
||||
|
||||
Reference in New Issue
Block a user