Changed to wasResized. I don't understand the other comment.