mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Small fix: Switch between vertex with Shift+Space keys
This commit is contained in:
+1
-4
@@ -436,10 +436,7 @@ void MapperGLCanvas::keyPressEvent(QKeyEvent* event)
|
||||
// SHIFT+Space to switch between vertex
|
||||
else if (event->key() == Qt::Key_Space)
|
||||
{
|
||||
if (shape)
|
||||
{
|
||||
_activeVertex = (_activeVertex + 1) % shape->nVertices();
|
||||
}
|
||||
_activeVertex = (_activeVertex + 1) % shape->nVertices();
|
||||
pos = shape->getVertex(_activeVertex).toPoint(); // reset to new vertex
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user