Merge branch 'master' of github.com:tildearrow/furnace

This commit is contained in:
tildearrow 2023-01-31 15:11:27 -05:00
commit 036bec2b56
2 changed files with 3 additions and 1 deletions

View File

@ -168,7 +168,7 @@ void FurnaceGUI::finishSelection() {
selectingFull=false;
if (dragging) {
if (dragSourceX==dragDestinationX && dragSourceY==dragDestinationY) {
if (dragSourceX==dragDestinationX && dragSourceY==dragDestinationY && dragSourceXFine==dragDestinationXFine) {
cursor=cursorDrag;
selStart=cursorDrag;
selEnd=cursorDrag;

View File

@ -947,6 +947,8 @@ void FurnaceGUI::doDrag() {
// copy and clear
String c=doCopy(true,false,dragStart,dragEnd);
logV("copy: %s",c);
// replace
cursor=selStart;
doPaste(GUI_PASTE_MODE_NORMAL,0,false,c);