The International Simutrans Forum

 

Author Topic: Map tool: special actions for double-click for faster visualization  (Read 1266 times)

0 Members and 1 Guest are viewing this topic.

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4087
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
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.

Offline Isaac.Eiland-Hall us

  • Benevolent Dictator
  • Administrator
  • *
  • Posts: 3651
  • PanamaCityPC.com/support/
    • Facebook Profile
  • Languages: EN
Re: Map tool: special actions for double-click for faster visualization
« Reply #1 on: December 29, 2011, 01:55:07 AM »
I like this idea.

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Map tool: special actions for double-click for faster visualization
« Reply #2 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?

Offline Combuijs

  • Web Team
  • Devotee
  • *
  • Posts: 1392
  • Maintainer of maps.simutrans.com
    • Combuijs
  • Languages: EN, NL
Re: Map tool: special actions for double-click for faster visualization
« Reply #3 on: December 29, 2011, 01:42:07 PM »
Quote
Double 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...

Offline TurfIt

  • Dev Team, Coder/patcher
  • Devotee
  • *
  • Posts: 1326
Re: Map tool: special actions for double-click for faster visualization
« Reply #4 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.

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4087
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: Map tool: special actions for double-click for faster visualization
« Reply #5 on: December 30, 2011, 08:02:08 PM »
WOW! It's becoming better than pizzeria.

Thanks.