diff --git a/README.md b/README.md index 4e91405..b21e6a7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

+

CoinKiller

A level editor for NSMB2. Uses Qt6 and is coded in C++. diff --git a/objectseditionmode.cpp b/objectseditionmode.cpp index b40e65f..e48edd6 100644 --- a/objectseditionmode.cpp +++ b/objectseditionmode.cpp @@ -206,6 +206,11 @@ void ObjectsEditonMode::mouseDrag(int x, int y, Qt::KeyboardModifiers modifieres lx = x; ly = y; + if (qAbs((dx-lx) + (dy-ly)) < 20) + { + return; + } + int xpos = typeRound(dx, newObject->getType()); int ypos = typeRound(dy, newObject->getType());