When you say you think your leg isn't as straight as you thought, I think you mean extension. That's often the last thing to get to where we want it to be. Other than sleep. Sometimes it's sleep. But usually it's extension. My left knee refused to go flat for months. It was just a little shy. I did various things like what you're doing and, yes, those exercises hurt. I mean hurt! I despised extension exercises most of any.
What helped me most was walking. The more I walked, the longer my stride became. The longer my stride (as it got back to a normal stride like I remember from ye olde days of walking normally), the better my extension. I knew it was "right" again when I could put my leg flat on a ottoman, bed, or anywhere and it didn't hurt. Once extension got to normal, something else happened: I could stand comfortably for longer periods.

My PT guy had told me that would happen, and he was right.