FS#1609 - Zoom key "Z" doesn't center properly

Attached to Project: OpenTTD
Opened by Per von Zweigbergk (pvz) - Monday, 31 December 2007, 06:07 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Mac OS X
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The zoom key (Z) doesn't center and zoom like it should. It just zooms, the centering becomes erratic. It still centers if zoomed in 100%, but not from a smaller setting.

Confirmed in 0.6.0-beta2 and latest SVN r11726 on Mac OS X PPC. Not tested on other platforms. Perfectly reproducible.
This task depends upon

Closed by  Peter Nelson (peter1138)
Tuesday, 01 January 2008, 18:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in r11739
Comment by Remko Bijker (Rubidium) - Monday, 31 December 2007, 23:19 GMT
It centers perfectly at your current 'location of interest', i.e. your mouse pointer.
Comment by Per von Zweigbergk (pvz) - Monday, 31 December 2007, 23:49 GMT
Yes, I know how it should work. It should zoom in where your mouse cursor is. In that case, that's a Mac specific bug.
Comment by Per von Zweigbergk (pvz) - Tuesday, 01 January 2008, 04:33 GMT