Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Fix 2FA when running on Visual Studio 2015 #2337
Conversation
Change from using TextBlockEnvironment1111PercentFontSizeStyleKey to TextBlockEnvironment122PercentFontSizeStyleKey (which exists in VS 2015).
Instead use the dialog forground color. The color was previously GHTextBrush (which wasn't VS themed).
Add scaling styles for built in Labels and TextBlocks on Visual Studio 2015 and up.
|
Working well here now |
On Visual Studio 2015, authentication was getting stuck on username/password and not showing the 2FA UI.
What this PR does
VsResourceKeysrather than referencing style as a stringTextBlockEnvironment122PercentFontSizeStyleKeyinstead ofTextBlockEnvironment1111PercentFontSizeStyleKey(which doesn't exist in VS 2015)ErrorMessageStyleinstead ofGHTextBrush(which isn't themed for VS)How to test
Fixes #2336