Skip to content

Commit 36c045e

Browse files
committed
Fix Video Time Sync Entry Field
1 parent eaaa64f commit 36c045e

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

changelog.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@
3939
</head>
4040
<body>
4141
<div class="log">
42+
<h2> 2.5.10 - Minor Bug Fixes</h2>
43+
44+
<ul>
45+
<li>Bump version to v2.5.10</li>
46+
<li>Correct Log Sync to Time entry field.</li>
47+
</ul>
48+
4249
<h2> 2.5.9 - Minor Bug Fixes</h2>
4350

4451
<p>Observations during BF3.1.0 Release Candidate Testing.</p>

js/main.js

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Global Level Variables
44
var userSettings = {};
55

6-
var VIEWER_VERSION = '2.5.9'; // Current version
6+
var VIEWER_VERSION = '2.5.10'; // Current version
77

88
function BlackboxLogViewer() {
99
function supportsRequiredAPIs() {
@@ -1098,18 +1098,10 @@ function BlackboxLogViewer() {
10981098

10991099

11001100
$(".video-offset").change(function() {
1101-
var offset = parseFloat($(".video-offset").val());
1102-
1101+
var offset = parseFloat(this.value);
1102+
11031103
if (!isNaN(offset)) {
1104-
videoOffset = offset;
1105-
// Store the video offset to the local cache
1106-
currentOffsetCache.offset = offset;
1107-
if(hasLog && hasVideo) {
1108-
if(offsetCache.length > 20) offsetCache.shift();
1109-
offsetCache.push(currentOffsetCache);
1110-
prefs.set('offsetCache', offsetCache);
1111-
}
1112-
invalidateGraph();
1104+
setVideoOffset(offset, true);
11131105
}
11141106
});
11151107

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Betaflight - Blackbox Explorer",
33
"description": "Interactive flight log viewer for Betaflight",
4-
"version": "2.5.9",
4+
"version": "2.5.10",
55
"manifest_version": 2,
66
"app": {
77
"background": {

0 commit comments

Comments
 (0)