From 00bfe414d6b14bbd9b991af56b5862aead7d4254 Mon Sep 17 00:00:00 2001 From: Travis Goodspeed Date: Sat, 3 Aug 2024 15:13:26 -0400 Subject: [PATCH] Fixes to right line moves. #118 --- maskromtool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maskromtool.cpp b/maskromtool.cpp index 1e1a3c4..27fb0cd 100644 --- a/maskromtool.cpp +++ b/maskromtool.cpp @@ -1496,7 +1496,7 @@ void MaskRomTool::moveList(QList list, QPointF offset){ if(bitsVisible) //Get the old bits out of the way. - clearBits(true); + clearBits(false); //We ditch the bits and move all of their lines. foreach(QGraphicsItem* selecteditem, list){ @@ -1506,7 +1506,7 @@ void MaskRomTool::moveList(QList list, QPointF offset){ } //Then we redraw the bits, if they are still there and the seen is clear. - if(bitsVisible && state==STATE_IDLE){ + if(bitsVisible && state==STATE_MARKING){ foreach(QGraphicsItem* item, list){ if(item && (item->type()==QGraphicsItem::UserType || item->type()==QGraphicsItem::UserType+1)){ RomLineItem *rlitem=(RomLineItem*) item;