Skip to content
Snippets Groups Projects
Commit 45979251 authored by Duncan McNamara's avatar Duncan McNamara Committed by Nicolas Pomepuy
Browse files

OrientationDelegate: close when touch out

Touching the screen outside of the delegate should close it, like the
ResizeDelegate.
parent 22135a46
No related branches found
No related tags found
1 merge request!1944OrientationDelegate: close when touch out
Pipeline #499461 passed with stage
in 8 minutes and 3 seconds
......@@ -86,6 +86,7 @@ class VideoPlayerOrientationDelegate(private val player: VideoPlayerActivity) {
hideOrientationOverlay()
}
orientationList.adapter = orientationAdapter
orientationMainView.setOnClickListener { hideOrientationOverlay() }
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment