Skip to content

Instantly share code, notes, and snippets.

@KatieBarnett
Last active August 27, 2023 10:30
Show Gist options
  • Save KatieBarnett/d38fd76a7113fd31b35625a39d6003b4 to your computer and use it in GitHub Desktop.
Save KatieBarnett/d38fd76a7113fd31b35625a39d6003b4 to your computer and use it in GitHub Desktop.
Disabled modifier
fun Modifier.disabled() = this.then(greyScale()).then(alpha(0.4f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment