Commit 2ae05fcb authored by petter's avatar petter

Patched Thumbnail timing to contain non-TTT annotations

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@148 0463f305-d864-43cb-8a47-61cf597d4139
parent 0795191e
......@@ -105,7 +105,7 @@ import ttt.record.LectureProfileDialog;
import ttt.record.Recording;
public class TTT extends JFrame {
static final String version = "30.10.2013";
static final String version = "05.11.2013";
public static boolean debug = !true;
public static boolean verbose = true;
......
......@@ -783,9 +783,12 @@ public class Index {
}
// set time of index
IndexEntry indexEntry = index.get(i);
int timestamp = indexEntry.getTimestamp();
if (i+1<index.size()){
timestamp += (index.get(i+1).getTimestamp()-timestamp)*.95;
}
recording.setTime(indexEntry.getTimestamp());
recording.setTime(timestamp);
// create screenshot
Image screenshot = recording.graphicsContext.getScreenshotWithoutAnnotations();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment