• 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.

Calendar moves right by 5 px every update

Scheduled Pinned Locked Moved Bug Hunt
26 Posts 2 Posters 8.6k Views 2 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.
  • S Away
    sdetweil @emwtur
    last edited by sdetweil Jan 3, 2025, 10:50 PM Jan 3, 2025, 10:49 PM

    @emwtur ok, i made the change , so gotta figure out how i screwed that up

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Jan 4, 2025, 1:57 AM Reply Quote 0
    • S Away
      sdetweil @sdetweil
      last edited by Jan 4, 2025, 1:57 AM

      @emwtur want to try the fix

      calendar.js , line 915

      			if (p instanceof Array) {   // keep add brace, remove rest of line or // comment out
      			 let temp=[]
      			 p.forEach(name=>{temp.push(className +name)});
      			 p = temp
      			}                                                  
      			else p = className + p;  // keep
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Jan 4, 2025, 5:46 PM Reply Quote 0
      • E Offline
        emwtur @sdetweil
        last edited by Jan 4, 2025, 5:46 PM

        @sdetweil
        Looks like it’s working with that fix - line numbers didn’t match so I had to think a little before applying - tested with multiple symbols on some cals and both symbols show and stay in place

        /Per-Eric

        S 2 Replies Last reply Jan 4, 2025, 5:57 PM Reply Quote 0
        • S Away
          sdetweil @emwtur
          last edited by Jan 4, 2025, 5:57 PM

          @emwtur awesome!!!

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @emwtur
            last edited by Jan 5, 2025, 10:08 PM

            @emwtur the fix for this has been accepted and added to the next release (develop branch)

            develop includes the fix for broadcast clipping too…
            if you have the develop branch, then you can git pull to update

            if you don’t have develop, then see this topic
            https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Jan 6, 2025, 5:11 PM Reply Quote 0
            • E Offline
              emwtur @sdetweil
              last edited by Jan 6, 2025, 5:11 PM

              @sdetweil
              I’m happy sitting with modded code - I’ll have to stash it when next release comes in march or start fresh again.

              Thanks for your efforts once again !
              /Per-Eric

              S 1 Reply Last reply Jan 6, 2025, 5:15 PM Reply Quote 0
              • S Away
                sdetweil @emwtur
                last edited by Jan 6, 2025, 5:15 PM

                @emwtur my upgrade script will handle that

                it will say that the calendar.js is modified, do you want to save that,
                say no…

                https://github.com/sdetweil/MagicMirror_scripts

                if you run the test version first, it wont change anything, but still will warn you
                (how to remember if you changed files…)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 3
                • 3 / 3
                3 / 3
                • First post
                  24/26
                  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