Skip to content

Commit

Permalink
Fix border resistance saved notification
Browse files Browse the repository at this point in the history
  • Loading branch information
mgth committed May 8, 2024
1 parent dabf8c3 commit b54ade0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public PhysicalMonitor(string id, IMonitorsLayout layout, PhysicalMonitorModel m
e => e.DepthProjection,
e => e.DepthRatio,
e => e.BorderResistance
);
);
}

void ParseDisplaySources(IReadOnlyCollection<PhysicalSource> obj)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ public static PhysicalMonitor Load(this PhysicalMonitor @this)

@this.DepthRatio.X = key.GetOrSet("PhysicalRatioX", () => @this.DepthRatio.X);
@this.DepthRatio.Y = key.GetOrSet("PhysicalRatioY", () => @this.DepthRatio.Y);
@this.DepthRatio.Saved = true;

@this.BorderResistance.Left = key.GetOrSet(@"BorderResistance\Left", ()=> @this.BorderResistance.Left);
@this.BorderResistance.Top = key.GetOrSet(@"BorderResistance\Top", ()=> @this.BorderResistance.Top);
@this.BorderResistance.Right = key.GetOrSet(@"BorderResistance\Right", ()=> @this.BorderResistance.Right);
@this.BorderResistance.Top = key.GetOrSet(@"BorderResistance\Bottom", ()=> @this.BorderResistance.Bottom);

@this.DepthRatio.Saved = true;
@this.BorderResistance.Saved = true;

@this.Saved = true;

Expand Down

0 comments on commit b54ade0

Please sign in to comment.