File tree Expand file tree Collapse file tree
VidCoder/ViewModel/Panels Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -317,9 +317,24 @@ public AnamorphicCombo SelectedAnamorphic
317317 Anamorphic newValue = EnumConverter . Convert < AnamorphicCombo , Anamorphic > ( value ) ;
318318 this . Profile . Anamorphic = newValue ;
319319
320+ if ( newValue == Anamorphic . Strict )
321+ {
322+ this . Profile . Width = 0 ;
323+ this . Profile . MaxWidth = 0 ;
324+
325+ this . RaisePropertyChanged ( ( ) => this . Width ) ;
326+ this . RaisePropertyChanged ( ( ) => this . MaxWidth ) ;
327+ }
328+
320329 if ( newValue == Anamorphic . Strict || newValue == Anamorphic . Loose )
321330 {
322331 this . KeepDisplayAspect = true ;
332+
333+ this . Profile . Height = 0 ;
334+ this . Profile . MaxHeight = 0 ;
335+
336+ this . RaisePropertyChanged ( ( ) => this . Height ) ;
337+ this . RaisePropertyChanged ( ( ) => this . MaxHeight ) ;
323338 }
324339
325340 if ( this . Profile . Anamorphic == Anamorphic . Custom )
You can’t perform that action at this time.
0 commit comments