• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Add Fade Opacity config option in config.js

Scheduled Pinned Locked Moved Unsolved Feature Requests
1 Posts 1 Posters 394 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jca2112
    last edited by Jan 17, 2020, 4:13 PM

    When using the “Fade” option in the default modules (Calendar and Weather forecast, for example), on my set-up, the dimmed/faded gradient on the text is inconsistent. This is due to several factors, including different font sizes/weights, black-points/contrast/brightness on different monitors, different one-way mirror materials, etc.

    I was wondering if I could address this issue (in my case) if there was an Opacity variable added to the startFade function used in several default modules?

    Right now we can control via config.js where the fade starts in a div (fadePoint), but not a minimum amount of the opacity of the fade. (Right now it is based on an inline CSS div style of the opacity property set to the full 1.0 amount.)

    if (e >= startFade) {			//fading
    	currentFadeStep = e - startFade;
    	dateRow.style.opacity = 1 - (1 / fadeSteps * currentFadeStep);
    	}
    

    Is it worthwhile to add a fadeOpacity config that can be set to different base opacity amounts? Appreciate any help/feedback on this.

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Enjoying MagicMirror? Please consider a donation!
    MagicMirror created by Michael Teeuw.
    Forum managed by Sam, technical setup by Karsten.
    This forum is using NodeBB as its core | Contributors
    Contact | Privacy Policy