Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #7241 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Web ROIs redrawn continuously on pan

Reported by: wmoore Owned by: atarkowska
Priority: minor Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

When the panojs viewer moves to a point (E.g. recentres on a clicked shape) the

ROIControl.prototype.viewerMoved

method is called repeatedly during the pan. This causes the shapes to be redrawn multiple times.

The code below should probably not call setRoiZoom or refresh_rois unless Zoom or Z/T have changed.

if (vp.viewportimg.get(0).refresh_rois) {
vp.viewportimg.get(0).setRoiZoom(this.scale*100);
}
if (vp.viewportimg.get(0).setRoiZoom) {
vp.viewportimg.get(0).refresh_rois(theZ, theT);
} 

Change History (2)

comment:1 Changed 12 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 12 years ago by Will Moore <will@…>

  • Remaining Time set to 0

(In [578d1ed233376c4b095e8809bd53e77c5b0ca3ee/ome.git]) Only refresh ROIs on panoJS move if Z and T have changed. Closes #7241

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67796 sec.)

We're Hiring!