mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-23 07:14:57 +00:00
Convert Video mostly over to properties
This commit is contained in:
@@ -234,6 +234,8 @@ namespace SabreTools.Data.Extensions
|
||||
}
|
||||
else if (self is Display selfDisplay && clone is Display cloneDisplay)
|
||||
{
|
||||
cloneDisplay.AspectX = selfDisplay.AspectX;
|
||||
cloneDisplay.AspectY = selfDisplay.AspectY;
|
||||
cloneDisplay.DisplayType = selfDisplay.DisplayType;
|
||||
cloneDisplay.FlipX = selfDisplay.FlipX;
|
||||
cloneDisplay.HBEnd = selfDisplay.HBEnd;
|
||||
@@ -365,8 +367,12 @@ namespace SabreTools.Data.Extensions
|
||||
}
|
||||
else if (self is Video selfVideo && clone is Video cloneVideo)
|
||||
{
|
||||
cloneVideo.AspectX = selfVideo.AspectX;
|
||||
cloneVideo.AspectY = selfVideo.AspectY;
|
||||
cloneVideo.Height = selfVideo.Height;
|
||||
cloneVideo.Refresh = selfVideo.Refresh;
|
||||
cloneVideo.Screen = selfVideo.Screen;
|
||||
cloneVideo.Width = selfVideo.Width;
|
||||
}
|
||||
|
||||
// Handle known properties
|
||||
|
||||
Reference in New Issue
Block a user