SHA256
Fix Render Height Binding in RenderConfigWindow
This commit is contained in:
1 file changed
+2
-3
@@ -59,8 +59,7 @@ internal static class RenderConfigWindow
|
||||
{
|
||||
Id = "RendererMod_RenderConfig",
|
||||
Title = LocalizationManager.Get("ui.render_config.window_title"),
|
||||
Size = new Vector2(900, 600), TopBarHeight = 40,
|
||||
Draggable = true, Resizable = true,
|
||||
Size = new Vector2(900, 600), Draggable = true, Resizable = true,
|
||||
ShowCloseButton = true
|
||||
});
|
||||
|
||||
@@ -159,7 +158,7 @@ internal static class RenderConfigWindow
|
||||
format: "F0", clampMode: ClampMode.All,
|
||||
|
||||
sliderFilter: value => Snap(renderHeightSnap, value), inputFilter: value => Math.Max(value, 2),
|
||||
onComplete: null, onChanged: val => { config.RenderWidth = (int)Math.Round(val); },
|
||||
onComplete: null, onChanged: val => { config.RenderHeight = (int)Math.Round(val); },
|
||||
text: LocalizationManager.Get("ui.render_config.render_height"),
|
||||
id: "slider_render_height", showFill: true
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user