Follow-up Comment #11, bug #15738 (project freeciv):

Here is a patch to change the mapview's behavior. Proposed for 2.2 and
trunk.

We simply keep the center tile invariant when the mapview resizes. So tile
displayed in the center of mapview before resize == tile in center after.

Notice it does not re-center or re-focus, only preserve the current center.


Now if you resize the mapview, by for example undocking the chat box, or
resizing the window, the map will always slide around so that the center
stays in center.

(file #8766)
    _______________________________________________________

Additional Item Attachment:

File name: 20100401-Center-map-at-start-of-game-second-patch-GTK-cli.patch
Size:1 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15738>

_______________________________________________
  Meddelandet skickades via/av Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to