Explorar el Código

Fix initial usage of letterbox

Set start position of letterbox frames to the hidden position

Closes: #193
fireclawthefox hace 8 años
padre
commit
649a9abf8d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      direct/src/showbase/Transitions.py

+ 2 - 2
direct/src/showbase/Transitions.py

@@ -347,7 +347,7 @@ class Transitions:
                 frameColor = (0, 0, 0, 1),
                 frameColor = (0, 0, 0, 1),
                 borderWidth = (0, 0),
                 borderWidth = (0, 0),
                 frameSize = (-1, 1, 0, 0.2),
                 frameSize = (-1, 1, 0, 0.2),
-                pos = (0, 0, 0.8),
+                pos = (0, 0, 1.0),
                 image = barImage,
                 image = barImage,
                 image_scale = (2.25,1,.5),
                 image_scale = (2.25,1,.5),
                 image_pos = (0,0,.1),
                 image_pos = (0,0,.1),
@@ -362,7 +362,7 @@ class Transitions:
                 frameColor = (0, 0, 0, 1),
                 frameColor = (0, 0, 0, 1),
                 borderWidth = (0, 0),
                 borderWidth = (0, 0),
                 frameSize = (-1, 1, 0, 0.2),
                 frameSize = (-1, 1, 0, 0.2),
-                pos = (0, 0, -1),
+                pos = (0, 0, -1.2),
                 image = barImage,
                 image = barImage,
                 image_scale = (2.25,1,.5),
                 image_scale = (2.25,1,.5),
                 image_pos = (0,0,.1),
                 image_pos = (0,0,.1),