but window position and size couldn't be restored.
I tested with v0.3.5 on Mac Lion and Windows 7 but it didn't work on both environments.
I checked that values were saved on localStorage properly so I think there's a problem in resizeTo and moveTo.
Does this example work on v0.3.5?
Cheng Zhao
unread,
Dec 11, 2012, 8:56:41 PM12/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to node-...@googlegroups.com
Numbers stored in localStorage were converted to string, so in v0.3.5
you should do:
win.resizeTo(Number(localStorage.width), Number(localStorage.height));
v0.3.6 will automatically do the conversion for you.
Shinichi Katayama
unread,
Dec 11, 2012, 11:26:42 PM12/11/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message