The International Simutrans Forum

Development => Extension Requests => Topic started by: IgorEliezer on December 29, 2011, 01:06:54 AM

Title: Map tool: special actions for double-click for faster visualization
Post by: IgorEliezer on December 29, 2011, 01:06:54 AM
I'd like to suggest two actions that could be performed in Map tool when I double-click in:

- Double right-click: fit full map within Map tool window. Zoom is changed to fit the map in the window.
- Double left-click: center map view where I clicked. Zoom is not changed, the view is displaced to where I clicked at.

I know it's not important. But when I'm working with computer-aided drawings (CAD design), I use these things a lot; maybe it helps.
Title: Re: Map tool: special actions for double-click for faster visualization
Post by: Isaac Eiland-Hall on December 29, 2011, 01:55:07 AM
I like this idea.
Title: Re: Map tool: special actions for double-click for faster visualization
Post by: VS on December 29, 2011, 12:34:24 PM
Double left-click should already work... You click first time, map moves, second time is redundant. Or not?
Title: Re: Map tool: special actions for double-click for faster visualization
Post by: Combuijs on December 29, 2011, 01:42:07 PM
QuoteDouble left-click should already work... You click first time, map moves, second time is redundant. Or not?

No, map only moves if you click outside its current range. It does not put the place you clicked in the center, only if the place was not on the map previously. And then there are still exceptions, for instance when you click on the edge of the map...
Title: Re: Map tool: special actions for double-click for faster visualization
Post by: TurfIt on December 29, 2011, 11:36:18 PM
Seems sensible. At least the double left click. Double right? Not something my hand wants to do! But can be easily removed if objectionable... so, see r5065.
Title: Re: Map tool: special actions for double-click for faster visualization
Post by: IgorEliezer on December 30, 2011, 08:02:08 PM
WOW! It's becoming better than pizzeria.

Thanks.