Remove translation from alt-click to middle click to fix line snapping. Fixed #173
This commit is contained in:
parent
1ac964d9ba
commit
51d2c783cc
@ -988,8 +988,6 @@ void GameView::OnMouseMove(int x, int y, int dx, int dy)
|
||||
|
||||
void GameView::OnMouseDown(int x, int y, unsigned button)
|
||||
{
|
||||
if(altBehaviour)
|
||||
button = BUTTON_MIDDLE;
|
||||
if(selectMode!=SelectNone)
|
||||
{
|
||||
if(button==BUTTON_LEFT)
|
||||
@ -1023,9 +1021,6 @@ void GameView::OnMouseDown(int x, int y, unsigned button)
|
||||
|
||||
void GameView::OnMouseUp(int x, int y, unsigned button)
|
||||
{
|
||||
if(altBehaviour)
|
||||
button = BUTTON_MIDDLE;
|
||||
|
||||
if(selectMode!=SelectNone)
|
||||
{
|
||||
if(button==BUTTON_LEFT)
|
||||
|
Reference in New Issue
Block a user