Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/physics.py b/physics.py
index 706f0d5..ecbab80 100644
--- a/physics.py
+++ b/physics.py
@@ -84,10 +84,11 @@ class PhysicsGame:
def main():
toolbarheight = 75
+ tabheight = 30
pygame.init()
pygame.display.init()
x,y = pygame.display.list_modes()[0]
- screen = pygame.display.set_mode((x,y-toolbarheight))
+ screen = pygame.display.set_mode((x,y-toolbarheight-tabheight))
# create an instance of the game
game = PhysicsGame(screen)
# start the main loop