mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-03 04:52:35 +02:00
alt click alternative to middle click (that doesn't break line snapping)
This commit is contained in:
@@ -988,6 +988,8 @@ void GameView::OnMouseMove(int x, int y, int dx, int dy)
|
|||||||
|
|
||||||
void GameView::OnMouseDown(int x, int y, unsigned button)
|
void GameView::OnMouseDown(int x, int y, unsigned button)
|
||||||
{
|
{
|
||||||
|
if(altBehaviour && !shiftBehaviour)
|
||||||
|
button = BUTTON_MIDDLE;
|
||||||
if(selectMode!=SelectNone)
|
if(selectMode!=SelectNone)
|
||||||
{
|
{
|
||||||
if(button==BUTTON_LEFT)
|
if(button==BUTTON_LEFT)
|
||||||
|
Reference in New Issue
Block a user