move flag set
This commit is contained in:
parent
cd680ee190
commit
0aa4e690ae
@ -348,8 +348,8 @@ import UIKit
|
|||||||
|
|
||||||
// First update should be explicit (hence the zero check)
|
// First update should be explicit (hence the zero check)
|
||||||
if needsUpdateUI || (previousScreenSize != .zero && screenSizeChanged()) {
|
if needsUpdateUI || (previousScreenSize != .zero && screenSizeChanged()) {
|
||||||
updateViews()
|
|
||||||
needsUpdateUI = false
|
needsUpdateUI = false
|
||||||
|
updateViews()
|
||||||
}
|
}
|
||||||
|
|
||||||
previousScreenSize = view.bounds.size;
|
previousScreenSize = view.bounds.size;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user