fungi-renderer.js
/*
  Button's visual feedback, can be called with additional 'small' argument for
  a very little popin (indicating that an action is invalid)
  */
Button's visual feedback, can be called with additional 'small' argument for
a very little popin (indicating that an action is invalid)
Button ' s visual feedback can be called with additional ' small ' argument for a very little popin ( indicating that an action is invalid )
buttonPopIn (buttonDOMElement, small) {
    let classSizeName = small ? 'popin-small' : 'popin'
    buttonDOMElement.classList.add(classSizeName)
    setTimeout(() => buttonDOMElement.classList.remove(classSizeName), Renderer.animationTimes.buttonAction)
  }
buttonPopIn ( buttonDOMElement , small ) { let classSizeName = small ? 'popin-small' : 'popin' buttonDOMElement . classList . add ( classSizeName ) setTimeout ( ( ) => buttonDOMElement . classList . remove ( classSizeName ) , Renderer . animationTimes . buttonAction ) }
Button's visual feedback, can be called with additional 'small' argument for
a very little popin (indicating that an action is invalid)
Button ' s visual feedback can be called with additional ' small ' argument for a very little popin ( indicating that an action is invalid )