Fixed typos

Diffs=
ca650786c Fixed typos
This commit is contained in:
duncandoit
2022-07-07 16:25:36 +00:00
parent 57086995d6
commit e6b61661e2
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ class LayoutViewController: UIViewController {
}
func setFit(name: String = "") {
var fit: Fit = .fitContain
var fit: RiveFit = .contain
switch name {
case "Fill": fit = .fill
case "Contain": fit = .contain
@@ -41,7 +41,7 @@ class LayoutViewController: UIViewController {
}
func setAlignment(name: String = "") {
var alignment: Alignment = .alignmentCenter
var alignment: RiveAlignment = .center
switch name {
case "Top Left": alignment = .topLeft
case "Top Center": alignment = .topCenter