Kapiainen / Lauhdutin

A Rainmeter skin for launching games.
MIT License
67 stars 8 forks source link

Double click option #81

Closed marioortizmanero closed 7 years ago

marioortizmanero commented 7 years ago

I sometimes click one of my games by mistake, resulting in lag until I'm able to close it. It'd be amazing to make it so they only open by clicking twice.
What do you think? Thanks

Kapiainen commented 7 years ago

I'll think about it. Maybe implement a setting for it? We'll see.

If you want to have that behavior right now, then you can just change line 195 in \Lauhdutin\@Resources\Frontend\BuildSkin.py from this:

"""LeftMouseUpAction=[!CommandMeasure LauhdutinScript "OnLeftClickSlot(%s)"]""" % nSlotNumber,

to this:

"""LeftMouseDoubleClickAction=[!CommandMeasure LauhdutinScript "OnLeftClickSlot(%s)"]""" % nSlotNumber,

Remember to rebuild the skin afterwards for it to take effect.

marioortizmanero commented 7 years ago

Thank you!!