Your Name 4 vuotta sitten
vanhempi
commit
86d6e3878f
1 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. 5 3
      tests/openshottest.py

+ 5 - 3
tests/openshottest.py

@@ -126,7 +126,9 @@ c_txt1.has_audio=openshot.Keyframe(0)
 c_txt1.Layer(5)
 c_txt1.Position(3.5)
 c_txt1.location_x=openshot.Keyframe(0.02)
-c_txt1.location_y=openshot.Keyframe(0.88)
+c_txt1.location_y=openshot.Keyframe(0.02)
+
+#c_txt1.location_y=openshot.Keyframe(0.88)
 
 c_txt1.Start=0
 t.AddClip(c_txt1)
@@ -137,10 +139,10 @@ c_bg1 = openshot.Clip(bg1)
 c_bg1.has_audio=openshot.Keyframe(0)
 c_bg1.Layer(6)
 c_bg1.Position(3.5)
+c_bg1.scale_x=openshot.Keyframe(0.65)
+c_bg1.scale_y=openshot.Keyframe(0.65)
 c_bg1.location_x=openshot.Keyframe(-0.18)
 c_bg1.location_y=openshot.Keyframe(-0.08)
-c_bg1.scale_x=openshot.Keyframe(0.75)
-c_bg1.scale_y=openshot.Keyframe(0.75)
 
 c_bg1.Start=0
 t.AddClip(c_bg1)