Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-camvc
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-camvc
Commits
01d32650
Commit
01d32650
authored
Apr 17, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed magnifier and preview window frame lagging
parent
2bc4fd12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
camvc_interface.js
src/camvc_interface.js
+9
-1
No files found.
src/camvc_interface.js
View file @
01d32650
...
@@ -656,6 +656,13 @@ camInterface.prototype.gotShadow=function() {
...
@@ -656,6 +656,13 @@ camInterface.prototype.gotShadow=function() {
dbgp
(
4
,
" Iold"
);
dbgp
(
4
,
" Iold"
);
}
}
$
(
$
(
"#idCameraImage_div"
).
find
(
"#working"
)[
0
]).
off
(
"canvas_ready"
).
on
(
"canvas_ready"
,
function
(){
var
newsrc
=
(
$
(
"#idCameraImage_div"
).
find
(
"#display"
)[
0
]).
toDataURL
();
frAmeselSetImage
(
"idMagnifier_frAmesel"
,
newsrc
);
frAmeselSetImage
(
"idWindow_frAmesel"
,
newsrc
);
});
//new src
//new src
var
newsrc
=
(
$
(
"#idCameraImage_div"
).
find
(
"#display"
)[
0
]).
toDataURL
();
var
newsrc
=
(
$
(
"#idCameraImage_div"
).
find
(
"#display"
)[
0
]).
toDataURL
();
...
@@ -666,6 +673,7 @@ camInterface.prototype.gotShadow=function() {
...
@@ -666,6 +673,7 @@ camInterface.prototype.gotShadow=function() {
frAmeselSetImage
(
"idWindow_frAmesel"
,
newsrc
);
frAmeselSetImage
(
"idWindow_frAmesel"
,
newsrc
);
requestsNextState
(
true
);
// **** back to the main loop: GOOD
requestsNextState
(
true
);
// **** back to the main loop: GOOD
}
}
camInterface
.
prototype
.
statusUpdate
=
function
()
{
camInterface
.
prototype
.
statusUpdate
=
function
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment