70002285 Improve action pan performance

Article 70002285
Type Wish
Product WebJS
Version 1001
Date Added 12/6/2022 12:00:00 AM
Fixed 10.1002.0.6 (12/20/2022 12:00:00 AM)
Submitted by Dariusz Johanik

Summary

Solution

In version 1002.0.6 we made some changes in order to improve the performance of the following operations : pan , rotate3d, zoominout

 
When a pan , rotate3d, zoominout  operation is active (Please check vdcanvas.ActiveAction().DefaultActions and vdcanvas.ActiveAction().Pause methods) then 
1.the cursor of the canvas is changed to the default cursor
2.cursor axis, grips, viewcube and DrawOverallEntities are not drawn
3.These actions are started with mousedown and finished with mouseup
  when finished cursor is restored and  axis, grips, viewcub and DrawOverallEntities are drawn
 
Note:after the attachcanvas you can call the vcanvas.style.cursor = "crosshair"; 
       to set the default action axis to be a cursor icon this will also improve the performance of the mouse movement over the canvas
       Also if the mouse is on hold and DefaultTimeOutMilliseconds (default=1200)  passes then a full redraw is called.
       You can call the vdcanvas.SetDefaultTimeOutMilliseconds to change the default value 

Send comments on this topic.