mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 12:33:12 +00:00
Fix updating far/near settings
This commit is contained in:
parent
1a730f66b7
commit
5a12bcc049
3 changed files with 3 additions and 3 deletions
Binary file not shown.
Binary file not shown.
|
@ -125,18 +125,18 @@ namespace Toolbox
|
|||
private void camNearNumUD_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
Runtime.CameraNear = (float)camNearNumUD.Value;
|
||||
UpdateViewportSettings();
|
||||
UpdateViewportSettings(true);
|
||||
}
|
||||
|
||||
private void camFarNumUD_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
Runtime.CameraFar = (float)camFarNumUD.Value;
|
||||
UpdateViewportSettings();
|
||||
UpdateViewportSettings(true);
|
||||
}
|
||||
|
||||
private void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
// UpdateViewportSettings();
|
||||
UpdateViewportSettings(true);
|
||||
|
||||
Config.Save();
|
||||
this.Close();
|
||||
|
|
Loading…
Reference in a new issue