ソースを参照

Change default transition parameters

Chris Mullins 6 年 前
コミット
2487aa7f65
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      lib/Transitions/Transition.h

+ 2 - 2
lib/Transitions/Transition.h

@@ -55,8 +55,8 @@ public:
 
   // Default time to wait between steps.  Do this rather than having a fixed step size because it's
   // more capable of adapting to different situations.
-  static const size_t DEFAULT_PERIOD = 450;
-  static const size_t DEFAULT_NUM_PERIODS = 10;
+  static const size_t DEFAULT_PERIOD = 225;
+  static const size_t DEFAULT_NUM_PERIODS = 20;
   static const size_t DEFAULT_DURATION = DEFAULT_PERIOD*DEFAULT_NUM_PERIODS;
 
   // If period goes lower than this, throttle other parameters up to adjust.