Skip to content

Commit 0ee3f8b

Browse files
committed
Enable wrapping for explanation text
1 parent 1df18ee commit 0ee3f8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SettingsApp/HTCCSettingsApp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ class HTCCSettingsApp {
282282
Gui_PointerSink();
283283

284284
ImGui::SeparatorText("Gestures");
285-
ImGui::Text(
285+
ImGui::TextWrapped(
286286
"Gestures require the XR_FB_hand_tracking_aim extension; for Meta Link, "
287287
"this requires developer mode.");
288288
if (ImGui::Checkbox("Enable pinch to click", &Config::PinchToClick)) {
@@ -304,7 +304,7 @@ class HTCCSettingsApp {
304304
Config::SaveUseHandTrackingAimPointFB(!ignoreAimPose);
305305
}
306306
}
307-
ImGui::Text(
307+
ImGui::TextWrapped(
308308
"HTCC attempts to detect available features; this may not work with some "
309309
"buggy drivers. You can bypass the detection below - if the features are "
310310
"not actually availalbe, this may make games crash.");
@@ -320,7 +320,7 @@ class HTCCSettingsApp {
320320
}
321321

322322
ImGui::SeparatorText("About HTCC");
323-
ImGui::Text("%s", VersionString.c_str());
323+
ImGui::TextWrapped("%s", VersionString.c_str());
324324
if (ImGui::Button("Copy")) {
325325
ImGui::SetClipboardText(VersionString.c_str());
326326
}

0 commit comments

Comments
 (0)