sjcbulldog / elescout

Electron based scouting application for FRC
0 stars 0 forks source link

Text is rendered backward when screen reversed #17

Closed sjcbulldog closed 2 days ago

sjcbulldog commented 4 days ago

When the screen is reversed from left to right to match the view of the scouter, the text is rendered backward. This is because of the scale transform applied to the 2d graphics context.

sjcbulldog commented 2 days ago

The transform is now changed when drawing text, with the appropriate translation, to get text to draw the right way.