Ticket #314 (closed: fixed)

Opened 16 years ago

Last modified 15 years ago

The ecosim biomass graph redraws in response to a resize event even if it is not visible.

Reported by: joeb Owned by: administrator
Priority: normal Milestone: Ecopath 6: build 6.0.7
Component: Overall GUI Version:
Severity: feature Keywords:


This is a problem because the graph can take a long time to redraw which causes the interface to stall even if the graph is not visible. This can be solve be setting a flag is the Activeated and Deactivated events of the graph then only drawing when the from is Active.

Change History

comment:1 Changed 16 years ago by jeroens

After build
The output graph now works with a snapshot. This snapshot is created on redraw if it does not exist, otherwise the snapshot drawn. The snapshot is destroyed when the control resizes.

Note: See TracTickets for help on using tickets.