File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ private void InitializeWindow()
103103 Width = _config . GetValue < int ? > ( WindowDefaults . Width ) ?? 1366 ;
104104 MinHeight = _config . GetValue < int ? > ( WindowDefaults . MinHeight ) ?? 0 ;
105105 MinWidth = _config . GetValue < int ? > ( WindowDefaults . MinWidth ) ?? 0 ;
106- MaxHeight = _config . GetValue < int ? > ( WindowDefaults . MaxHeight ) ?? 0 ;
107- MaxWidth = _config . GetValue < int ? > ( WindowDefaults . MaxWidth ) ?? 0 ;
106+ MaxHeight = _config . GetValue < int ? > ( WindowDefaults . MaxHeight ) ?? double . PositiveInfinity ;
107+ MaxWidth = _config . GetValue < int ? > ( WindowDefaults . MaxWidth ) ?? double . PositiveInfinity ;
108108 UseFrame ( _config . GetValue < bool ? > ( WindowDefaults . Frame ) ?? true ) ;
109109 ResizeMode = ( _config . GetValue < bool ? > ( WindowDefaults . Resizable ) ?? true ) ? ResizeMode . CanResize : ResizeMode . NoResize ;
110110 UseIcon ( _config . GetValue < string ? > ( WindowDefaults . Icon ) ?? string . Empty ) ;
You can’t perform that action at this time.
0 commit comments