roundPixels is causing "jittering" with cameras.main.startFollow

I don’t know if I should continue on this post or start a new one , but I am going to add this here because I believe it pertains to the same issue.

I added a listener to resize the game. There is not jitter till resize occurs, than it starts immediately , however I am using the same work around that I did to make sure that the pixel width and height are always divisible by 2.

window.addEventListener('resize', function (event) {

  console.log('Hi from mitchells listener')
  let newWidth = window.innerWidth
  let newHeight = window.innerHeight -5

  if((myWidth % 2) != 0) myWidth--
  if((myHeight % 2) != 0) myHeight--

  game.scale.resize(newWidth , newHeight)
 }, false);

Edit: actually if you look above I an using newWidth and myWidth. sorry for being silly , I looked at it today and of course it wasn’t working