function configDidUpdate() {
  const config = store.state.config

  quality = qualitySelector()
  isLowQuality = quality === QUALITY_LOW
  isNormalQuality = quality === QUALITY_NORMAL
  isHighQuality = quality === QUALITY_HIGH

  if (skyLightingSelector() === SKY_LIGHT_NONE) {
    appNodes.canvasContainer.style.backgroundColor = "#000"
  }

  Spark.drawWidth = quality === QUALITY_HIGH ? 0.5 : 0.75
}
// Map config to various properties & apply side effects
Map config to various properties & apply side effects
Map config to various properties & apply side effects
function configDidUpdate() {
  const config = store.state.config
  quality = qualitySelector()
  isLowQuality = quality === QUALITY_LOW
  isNormalQuality = quality === QUALITY_NORMAL
  isHighQuality = quality === QUALITY_HIGH
  if (skyLightingSelector() === SKY_LIGHT_NONE) {
    appNodes.canvasContainer.style.backgroundColor = "#000"
  }
  Spark.drawWidth = quality === QUALITY_HIGH ? 0.5 : 0.75
}
function configDidUpdate ( ) { const config = store . state . config quality = qualitySelector ( ) isLowQuality = quality === QUALITY_LOW isNormalQuality = quality === QUALITY_NORMAL isHighQuality = quality === QUALITY_HIGH if ( skyLightingSelector ( ) === SKY_LIGHT_NONE ) { appNodes . canvasContainer . style . backgroundColor = "#000" } Spark . drawWidth = quality === QUALITY_HIGH ? 0.5 : 0.75 }
Map config to various properties & apply side effects
Map config to various properties & apply side effects