@gloo No. Actually it doesn't matter to me if my partner is doing that. I find it sexy rather, specially if she let me watch her doing it.
If you have a partner, it's alright to do masturbate. If you can't be with her/him, it is a way to escape from craves. And of course, while your partner doing it, he/she will think about you. There's no problem about that unless your partner avoids having sex with you, or while you and your partner having sex, you kinda feel that he/she is bored or uncomfortable having sex with you. You have to do something with it. Think of ways to improve and correct what is wrong with you. And also masturbation is a way to practice yourself so you can perform better for your partner