Skip to content

Commit 726417b

Browse files
committed
[POV] Add slider to ViewOffset setting
1 parent 803ad69 commit 726417b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RealPOV.Core/RealPOVCore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected virtual void Awake()
4040
POVHotkey = Config.Bind(SECTION_HOTKEYS, "Toggle POV", new KeyboardShortcut(KeyCode.Backspace));
4141
DefaultFOV = Config.Bind(SECTION_GENERAL, "Default FOV", defaultFov, new ConfigDescription("", new AcceptableValueRange<float>(20f, 120f)));
4242
MouseSens = Config.Bind(SECTION_GENERAL, "Mouse sensitivity", 1f, new ConfigDescription("", new AcceptableValueRange<float>(0.1f, 2f)));
43-
ViewOffset = Config.Bind(SECTION_GENERAL, "View offset", defaultViewOffset);
43+
ViewOffset = Config.Bind(SECTION_GENERAL, "View offset", defaultViewOffset, new ConfigDescription("Move the camera backward or forward", new AcceptableValueRange<float>(-0.5f, 0.5f)));
4444
}
4545

4646
private void Update()

0 commit comments

Comments
 (0)