Skip to content

Commit 5a63482

Browse files
committed
Temporary fix for "Reset Monitors" problem described in #847. This fix reintroduces a problem with the Lock Aspect Ratio tick box, but this is of lesser consequence.
1 parent 071c334 commit 5a63482

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Helios/HeliosVisual.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ public double Width
355355
double oldValue = _rectangle.Width;
356356
_rectangle.Width = newValue;
357357
OnPropertyChanged("Width", oldValue, newValue, true);
358-
ScaleChildren(Math.Max(newValue / oldValue, 0d), 1d);
359358
UpdateRectangle();
360359
Refresh();
361360
OnResized();
@@ -382,7 +381,6 @@ public double Height
382381
double oldValue = _rectangle.Height;
383382
_rectangle.Height = newValue;
384383
OnPropertyChanged("Height", oldValue, newValue, true);
385-
ScaleChildren(1d, Math.Max(newValue / oldValue, 0d));
386384
UpdateRectangle();
387385
Refresh();
388386
OnResized();
@@ -405,7 +403,6 @@ private Size AspectControledSize
405403
_rectangle.Width = newWidthValue;
406404
OnPropertyChanged("Height", oldValue.Height, newHeightValue, true);
407405
OnPropertyChanged("Width", oldValue.Width, newWidthValue, true);
408-
ScaleChildren(Math.Max(newWidthValue / oldValue.Width, 0d), Math.Max(newHeightValue / oldValue.Height, 0d));
409406
UpdateRectangle();
410407
Refresh();
411408
OnResized();

0 commit comments

Comments
 (0)