mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-09 01:46:29 +02:00
only automatically use scale 2 if there is a little more space than required (just in case)
This commit is contained in:
@@ -835,7 +835,7 @@ int main(int argc, char * argv[])
|
|||||||
tempScale = 1;
|
tempScale = 1;
|
||||||
|
|
||||||
SDLOpen();
|
SDLOpen();
|
||||||
if (Client::Ref().IsFirstRun() && desktopWidth > WINDOWW*2 && desktopHeight > WINDOWH*2)
|
if (Client::Ref().IsFirstRun() && desktopWidth > WINDOWW*2+50 && desktopHeight > WINDOWH*2+50)
|
||||||
{
|
{
|
||||||
tempScale = 2;
|
tempScale = 2;
|
||||||
Client::Ref().SetPref("Scale", 2);
|
Client::Ref().SetPref("Scale", 2);
|
||||||
|
Reference in New Issue
Block a user