[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linterna-magica-commit] [222] Fixed time ticker starting.
From: |
Ivaylo Valkov |
Subject: |
[linterna-magica-commit] [222] Fixed time ticker starting. |
Date: |
Sun, 27 Nov 2011 14:03:07 +0000 |
Revision: 222
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=222
Author: valkov
Date: 2011-11-27 14:03:06 +0000 (Sun, 27 Nov 2011)
Log Message:
-----------
Fixed time ticker starting.
Modified Paths:
--------------
trunk/src/lm_constructors.js
Modified: trunk/src/lm_constructors.js
===================================================================
--- trunk/src/lm_constructors.js 2011-11-26 12:27:01 UTC (rev 221)
+++ trunk/src/lm_constructors.js 2011-11-27 14:03:06 UTC (rev 222)
@@ -257,8 +257,10 @@
var started_clip = this.find_started_clip();
- // Only start the clip, if not other is playing.
- if (this.autostart && started_clip == null)
+ // Start the clip, if no other clip is playing or the started
+ // clip is this one.
+ if (this.autostart &&
+ (started_clip == null || started_clip == id))
{
// Sometimes it skips seconds if the
// interval is 1sec
@@ -268,7 +270,7 @@
self.ticker.apply(self,[id]);
}, 500);
}
-
+
var volume_interval_function = function()
{
var knob =
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [linterna-magica-commit] [222] Fixed time ticker starting.,
Ivaylo Valkov <=