Advertisement
Kapa3a

Fix vs 2019 fereastra client

Nov 29th, 2023
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | Source Code | 0 0
  1. I like the titlebar we have when compiling with vs2019, but makes the client to have a bigger height.
  2.  
  3.  
  4.  
  5. In PythonSystem.cpp search for
  6.  
  7. if (m_Config.height >= screen_height)
  8. And update with
  9.  
  10. if (m_Config.height >= screen_height)
  11. {
  12.   int config_height = m_Config.height;
  13.   int difference = (config_height-screen_height)+7;
  14.   m_Config.height = config_height - difference;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement