From: Stefan F. <ste...@we...> - 2011-11-11 09:48:15
|
Reverse zooming direction was wrong due to the Dimension variable assignment instead of cloning. So two variables shared the same instance of a dimension object. That was a little tricky to find. Sometimes Eclipse has not finished rebuilding (compiling) the workspace before you run Rails, so that the version with the previous code starts. On Friday, November 11, 2011 10:11:12 am Erik Vos wrote: > > > Zooming now works fine (except the first time, strange enough, for > > > both 18EU and 18GA). > > > > I have not experienced the effect: What exactly is the bug (not zooming, > > background and tile have deviate in zoom) and is it reproducible at any > > start- > > > up or was it really only the first time you have started a game of 18GA > > and > > > 18EU? > > Before your changes it went wrong consistently and (I think) in a > reproducible way. > I don't understand why it still went wrong the first time after I pulled > your changes; it was as if Rails was still running without these changes. > > Anyway, what happened in the past was, that when I reversed the zooming > direction (from in to out or vice versa), the map did not change scale once > (or maybe twice). > Something like: > 1. Zoom in: all OK. > 2. Zoom in: still OK. > 3. Zoom out: tiles zoom out, map unchanged. > 4 (or 5). Zoom out: both zoom out, but remain out of sync. > > That misbehaviour seems to have been fixed now. > > On your other remarks on SVG: obviously, the current code is a klu(d)ge. I > can't really comment on the best way to approach it, as I have no > experience with real SVG programming, and very little with graphics > programming in general. I'm leaving that to Adam and you (and Brett, if he > feels up to it). > > Erik. > > > --------------------------------------------------------------------------- > --- RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |