Change resolution scale step size to 10%

This commit is contained in:
Sapphire committed 2025-12-07 09:32:02 -05:00
1 parent 0a2c374b52
commit bb07e5afd7
12 files changed
+27 -27

No files matched your search

+5 -5
View File
@@ -646,16 +646,16 @@ void scenes::lobby::gui_settings()
const auto current = config.resolution_scale;
const auto width = stream_view.recommendedImageRectWidth;
const auto height = stream_view.recommendedImageRectHeight;
auto intScale = int(current * 100);
auto intScale = int(current * 10);
const auto slider = ImGui::SliderInt(
_("Resolution scale").append("##resolution_scale").c_str(),
&intScale,
50,
350,
fmt::format(_F("%d%% - {}x{} per eye"), int(width * current), int(height * current)).c_str());
5,
35,
fmt::format(_F("{}%% - {}x{} per eye"), intScale * 10, int(width * current), int(height * current)).c_str());
if (slider)
{
config.resolution_scale = intScale * 0.01;
config.resolution_scale = intScale * 0.1;
config.save();
}
imgui_ctx->vibrate_on_hover();
+2 -2
View File
@@ -216,8 +216,8 @@ msgstr "Escala de resolución"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por ojo"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} por ojo"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -217,8 +217,8 @@ msgstr "Échelle"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} par œil"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} par œil"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -213,8 +213,8 @@ msgstr "Scala di risoluzione"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} per occhio"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} per occhio"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -204,8 +204,8 @@ msgstr "解像度"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 目あたり{}x{}"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - 目あたり{}x{}"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -212,8 +212,8 @@ msgstr "Skala rozdzielczości"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} na oko"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} na oko"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -218,8 +218,8 @@ msgstr "Escala de resolução"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} por olho"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} por olho"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -213,8 +213,8 @@ msgstr "Масштаб разрешения"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} на каждый глаз"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} на каждый глаз"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -199,8 +199,8 @@ msgstr "Rozlíšenie"
#: client/scenes/lobby_gui.cpp:894
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - {}x{} na oko"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - {}x{} na oko"
#: client/scenes/lobby_gui.cpp:905
#, c++-format
+2 -2
View File
@@ -214,8 +214,8 @@ msgstr "Çözünürlük ölçeği"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "göz başına %d%% - {}x{}"
msgid "{}%% - {}x{} per eye"
msgstr "göz başına {}%% - {}x{}"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -213,8 +213,8 @@ msgstr "分辨率缩放比例"
#: client/scenes/lobby_gui.cpp:655
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 单眼 {}x{}"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - 单眼 {}x{}"
#: client/scenes/lobby_gui.cpp:666
#, c++-format
+2 -2
View File
@@ -195,8 +195,8 @@ msgstr "解析度縮放比例"
#: client/scenes/lobby_gui.cpp:638
#, c-format, c++-format
msgid "%d%% - {}x{} per eye"
msgstr "%d%% - 單眼 {}x{}"
msgid "{}%% - {}x{} per eye"
msgstr "{}%% - 單眼 {}x{}"
#: client/scenes/lobby_gui.cpp:649
#, c++-format