Optimization - no need to update layout on each call
This commit is contained in:
parent
5e9ef929e9
commit
617c7375c9
1 changed files with 0 additions and 1 deletions
|
@ -263,7 +263,6 @@ namespace AffdexMe
|
|||
canvasFacePoints.Children.Clear();
|
||||
canvasFacePoints.Width = imgAffdexFaceDisplay.ActualWidth;
|
||||
canvasFacePoints.Height = imgAffdexFaceDisplay.ActualHeight;
|
||||
canvasFacePoints.UpdateLayout();
|
||||
|
||||
mImageXScaleFactor = imgAffdexFaceDisplay.ActualWidth / affdexImage.getWidth();
|
||||
mImageYScaleFactor = imgAffdexFaceDisplay.ActualHeight / affdexImage.getHeight();
|
||||
|
|
Loading…
Reference in a new issue