We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc5f2b commit 0f4da85Copy full SHA for 0f4da85
Sources/LayoutInspector/Geometry.swift
@@ -29,6 +29,7 @@ extension CGRect {
29
origin.y += delta.height
30
size.width -= delta.width
31
size.height -= delta.height
32
+ self = self.standardized
33
}
34
35
@@ -39,6 +40,7 @@ extension CGRect {
39
40
41
size.width += delta.width
42
43
44
45
46
@@ -49,6 +51,7 @@ extension CGRect {
49
51
origin.x += delta.width
50
52
53
size.height += delta.height
54
55
56
57
@@ -58,6 +61,7 @@ extension CGRect {
58
61
let delta = newValue - CGPoint(x: maxX, y: minY)
59
62
60
63
64
65
66
67
0 commit comments