浏览代码

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
   // 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.
   // 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;
   static const size_t DEFAULT_DURATION = DEFAULT_PERIOD*DEFAULT_NUM_PERIODS;
 
 
   // If period goes lower than this, throttle other parameters up to adjust.
   // If period goes lower than this, throttle other parameters up to adjust.