On 7 May 2013 at 13:36, Robert Hanson wrote:
> I don't understand the resize idea:

Without that, the canvas image gets distorted when you resize the window, 
until you again interact with Jmol (rotation by mouse dragging). What I'm 
doing here is to force a refresh, if not while resizing at least when window 
resize is done, so the model doesn't look distorted. Better user experience in 
my view.


> Why is that nececessary? Wouldn't that return the original popup view if I 
> adjust the window. 

As I said, not until you move the model after a window resize.
See attached screenshots



The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  resizing.png
     Date:  7 May 2013, 21:33
     Size:  28386 bytes.
     Type:  Unknown

Attachment: resizing.png
Description: Binary data

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to