Commit 0c31a0a6 by Daniel Dahan

development: fixed a shadowing issue when setting Navigation Drawer left and right panel widths

parent 6079c5d3
......@@ -551,12 +551,9 @@ open class NavigationDrawerController: RootController {
v.position.x = -v.bounds.width / 2
rootViewController.view.alpha = 1
} else {
v.isShadowPathAutoSizing = false
showView(container: v)
v.position.x = width / 2
rootViewController.view.alpha = 0.5
v.isShadowPathAutoSizing = true
}
layoutSubviews()
......@@ -636,12 +633,9 @@ open class NavigationDrawerController: RootController {
v.position.x = view.bounds.width + v.bounds.width / 2
rootViewController.view.alpha = 1
} else {
v.isShadowPathAutoSizing = false
showView(container: v)
v.position.x = view.bounds.width - width / 2
rootViewController.view.alpha = 0.5
v.isShadowPathAutoSizing = true
}
layoutSubviews()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment