Fix for aspect ratio losing ratio (bad code version)
The reason why it's bad code is because I'm using a global variable for this purpose and that is a really bad idea. Unfortunately, I don't know where can this information be stored.
Please help: The part I'm missing is somewhere to store the float variable. Once I have a suitable place, this PR is complete.
Note: I'm not used to C++ code, this is my first time working with C++ code without prior help, please be patient.
Fix for aspect ratio losing ratio (bad code version)
The reason why it's bad code is because I'm using a global variable for this purpose and that is a really bad idea. Unfortunately, I don't know where can this information be stored.
Please help: The part I'm missing is somewhere to store the float variable. Once I have a suitable place, this PR is complete.
Note: I'm not used to C++ code, this is my first time working with C++ code without prior help, please be patient.
Fixes #3436