Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeLab committed Sep 12, 2022
1 parent 7906c11 commit e879475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 99x8Edit/PCGEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ private void contextPCG_copyDown(object sender, EventArgs e)
dst += bank * 256;
_dataSource.CopyPCG(src, dst, push: false);
};
_viewSand.ForEachSelection(r.X, r.Y + 1, r.Width, r.Height - 1, callback);
_viewPCG.ForEachSelection(r.X, r.Y + 1, r.Width, r.Height - 1, callback);
this.RefreshAllViews();
}
private void contextPCG_copyRight(object sender, EventArgs e)
Expand All @@ -591,7 +591,7 @@ private void contextPCG_copyRight(object sender, EventArgs e)
dst += bank * 256;
_dataSource.CopyPCG(src, dst, push: false);
};
_viewSand.ForEachSelection(r.X + 1, r.Y, r.Width - 1, r.Height, callback);
_viewPCG.ForEachSelection(r.X + 1, r.Y, r.Width - 1, r.Height, callback);
this.RefreshAllViews();
}
private void viewPCG_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
Expand Down

0 comments on commit e879475

Please sign in to comment.