diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-04-12 14:30:25 +0900 |
---|---|---|
committer | Seungkeun Lee <sngn.lee@samsung.com> | 2017-04-17 15:26:07 +0900 |
commit | 0ba662e9f10b5e4d8509a23a507e84b851b7a9fd (patch) | |
tree | ca475a7fcf9f594855c6d0fa80dd450a5cbcd7f3 /Xamarin.Forms.Platform.Tizen/Native/Box.cs | |
parent | 7b644efa01458d3e7708c00f153a7331bc1a5b9e (diff) | |
download | xamarin-forms-0ba662e9f10b5e4d8509a23a507e84b851b7a9fd.tar.gz xamarin-forms-0ba662e9f10b5e4d8509a23a507e84b851b7a9fd.tar.bz2 xamarin-forms-0ba662e9f10b5e4d8509a23a507e84b851b7a9fd.zip |
Refactor layout update code
- A small refactoring
- In OnBatchCommitted, Only update the Element itself location, not update children
Because it is enough
- Prevent duplicate update
- Globally applied IgnoreBatchCommitted was changed to locally and re-named
- Fixed rotation issue
Change-Id: I32b57317169d81d7ad6e45f0b52eb2a8f1d861fa
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native/Box.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Box.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Box.cs b/Xamarin.Forms.Platform.Tizen/Native/Box.cs index 9bd7bad9..2f551902 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Box.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Box.cs @@ -52,10 +52,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native LayoutUpdated(this, new LayoutEventArgs() { HasChanged = g != _previousGeometry, - X = g.X, - Y = g.Y, - Width = g.Width, - Height = g.Height, + Geometry = g, } ); } |