refactor(essentials): better name for current layout property in eventargs

This commit is contained in:
Neil Dorin
2021-11-05 12:40:07 -06:00
parent 949a04647b
commit 3ee44bcf6e
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
public class LayoutInfoChangedEventArgs : EventArgs
{
public ZoomRoom.zConfiguration.eLayoutStyle AvailableLayouts { get; set; }
public ZoomRoom.zConfiguration.eLayoutStyle LastSelectedLayout { get; set; }
public ZoomRoom.zConfiguration.eLayoutStyle CurrentSelectedLayout { get; set; }
public bool CanSwapContentWithThumbnail { get; set; }
public bool ContentSwappedWithThumbnail { get; set; }
public bool LayoutViewIsOnFirstPage { get; set; }

View File

@@ -2937,7 +2937,7 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
handler(this, new LayoutInfoChangedEventArgs()
{
AvailableLayouts = AvailableLayouts,
LastSelectedLayout = (zConfiguration.eLayoutStyle)Enum.Parse(typeof(zConfiguration.eLayoutStyle),LocalLayoutFeedback.StringValue, true),
CurrentSelectedLayout = (zConfiguration.eLayoutStyle)Enum.Parse(typeof(zConfiguration.eLayoutStyle),LocalLayoutFeedback.StringValue, true),
LayoutViewIsOnFirstPage = LayoutViewIsOnFirstPageFeedback.BoolValue,
LayoutViewIsOnLastPage = LayoutViewIsOnLastPageFeedback.BoolValue,
CanSwapContentWithThumbnail = CanSwapContentWithThumbnailFeedback.BoolValue,