do not allow clicking bottom buttons if they are invisible

This commit is contained in:
tibbi 2017-05-07 15:53:03 +02:00
parent aa4cf933c6
commit 520a2b160e
1 changed files with 4 additions and 0 deletions

View File

@ -304,6 +304,10 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
shutter.animate().alpha(alpha).start()
toggle_camera.animate().alpha(alpha).start()
toggle_flash.animate().alpha(alpha).start()
shutter.isClickable = !hide
toggle_camera.isClickable = !hide
toggle_flash.isClickable = !hide
}
private fun launchSettings() {