update every button clickability on the main thread
This commit is contained in:
parent
afa5a46303
commit
104eca5196
|
@ -276,12 +276,12 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener {
|
|||
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() {
|
||||
if (settings.alpha == 1f) {
|
||||
|
|
Loading…
Reference in New Issue