Intersect-Engine
Intersect-Engine copied to clipboard
bug: Saved Camera zoom settings cause crashes when opening settings on later launches
Description
Saved Camera zoom settings cause crashes when opening settings on later launches
Steps to Reproduce
Open Client go into settings and let the scroll bar modify the camera zoom.
Zoom all the way in.
Close client
Reopen client and open settings.
Client crashes.
The logs show that the slider is causing the crash as it expect values 0-1 and the mouse wheel is setting it as high as 4.
Version with bug
v0.8.0.551-beta+5344dc95c8f2785a3087d2d25ff47456f74fccbd
Last version that worked well
Unknown
Affected platforms
Windows 11
Is this bug platform-specific?
- [ ] Yes this is platform-specific issue
Did you find any workaround?
No response
Relevant log output
System.ArgumentException: '4' cannot be greater than 1.
at System.Math.ThrowMinMaxException[T](T min, T max)
at Intersect.Client.Framework.Gwen.Control.LabeledSlider.<.ctor>b__10_1(TextBox sender, ValueChangedEventArgs`1 _) in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\LabeledSlider.cs:line 79
at Intersect.Client.Framework.Gwen.Control.TextBox.OnTextChanged() in D:\a\Intersect-Engine\Intersect-Engine\Intersect.Client.Framework\Gwen\Control\TextBox.cs:line 242
Duplicate Bug Check
- [x] This bug report is not a duplicate to the best of my knowledge.