diff --git a/LightlessSync/UI/SettingsUi.cs b/LightlessSync/UI/SettingsUi.cs index 4054853..f1da3c0 100644 --- a/LightlessSync/UI/SettingsUi.cs +++ b/LightlessSync/UI/SettingsUi.cs @@ -3851,9 +3851,9 @@ public class SettingsUi : WindowMediatorSubscriberBase _uiShared.DrawHelpText("Choose which corner of the screen notifications appear in."); int offsetY = _configService.Current.NotificationOffsetY; - if (ImGui.SliderInt("Vertical Offset", ref offsetY, 0, 5000)) + if (ImGui.SliderInt("Vertical Offset", ref offsetY, -2500, 2500)) { - _configService.Current.NotificationOffsetY = Math.Clamp(offsetY, 0, 5000); + _configService.Current.NotificationOffsetY = Math.Clamp(offsetY, -2500, 2500); _configService.Save(); } if (ImGui.IsItemClicked(ImGuiMouseButton.Right)) @@ -3866,9 +3866,9 @@ public class SettingsUi : WindowMediatorSubscriberBase _uiShared.DrawHelpText("Distance from the top edge of the screen."); int offsetX = _configService.Current.NotificationOffsetX; - if (ImGui.SliderInt("Horizontal Offset", ref offsetX, 0, 2500)) + if (ImGui.SliderInt("Horizontal Offset", ref offsetX, -2500, 2500)) { - _configService.Current.NotificationOffsetX = Math.Clamp(offsetX, 0, 2500); + _configService.Current.NotificationOffsetX = Math.Clamp(offsetX, -2500, 2500); _configService.Save(); } if (ImGui.IsItemClicked(ImGuiMouseButton.Right))