Commit 01d32650 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files

fixed magnifier and preview window frame lagging

parent 2bc4fd12
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -656,6 +656,13 @@ camInterface.prototype.gotShadow=function() {
     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
  var newsrc = ($("#idCameraImage_div").find("#display")[0]).toDataURL();
  
@@ -666,6 +673,7 @@ camInterface.prototype.gotShadow=function() {
  frAmeselSetImage ("idWindow_frAmesel", newsrc);
  
  requestsNextState(true); // **** back to the main loop: GOOD
  
}

camInterface.prototype.statusUpdate=function() {