It is important and instructive to understand how Hitler got Germany out of a malaise to garner the power he did.
People forget the old "he made the trains run on time" line.
But that needs to be the context -- that he used an iron fist to revamp Germany and then used that fist to kill 6 million Jews (and Catholics and gays).
Concerning the "gays", he put some of them in charge of important components of the Nazi state. I know the gays would like for it to have been different than that, but it wasn't.