Skip to content

Commit

Permalink
Fixes to right line moves. #118
Browse files Browse the repository at this point in the history
  • Loading branch information
travisgoodspeed committed Aug 3, 2024
1 parent 5e4812d commit 00bfe41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maskromtool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ void MaskRomTool::moveList(QList<QGraphicsItem*> 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){
Expand All @@ -1506,7 +1506,7 @@ void MaskRomTool::moveList(QList<QGraphicsItem*> 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;
Expand Down

0 comments on commit 00bfe41

Please sign in to comment.