Commit a249f11e authored by Tobias Due Munk's avatar Tobias Due Munk

Update for MobiConf

parent c42e9663
This diff is collapsed.
......@@ -59,7 +59,7 @@ final class SlidesCoordinator {
private func setup() {
_deviceViewController.controlsViewController = controlsViewController
//_deviceViewController.slidesViewController = slidesViewController
_deviceViewController.slidesViewController = nil // slidesViewController // Disable slides
controlsViewController.delegate = self
_externalViewController.content = .scene(slidesViewController.scene)
updateToSlide()
......
......@@ -46,6 +46,10 @@ class DeviceViewController: UIViewController {
NSLayoutConstraint.activate([
newViewController.view.widthAnchor.constraint(equalTo: newViewController.view.heightAnchor, multiplier: 16/9)
])
slideStackView.isHidden = false
} else {
slideStackView.isHidden = true
}
}
}
......@@ -63,6 +67,7 @@ class DeviceViewController: UIViewController {
stack.axis = .vertical
stack.isLayoutMarginsRelativeArrangement = true
stack.layoutMargins = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: -14)
stack.isHidden = true
return stack
}()
private let slideStackView: UIStackView = {
......
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