#callbacks._setCursor() #this will make the GUI jump around because it centers on the cursor
defsplitBlock():
tr=session.data.currentTrack()
@ -880,7 +880,7 @@ def joinBlock():
rearrangeBlocksInMultipleTracks(dictOfTrackIdsWithListOfBlockIds)#handles undo and callbacks for redrawing
session.data.goTo(*where)#just for the user experience.
callbacks._setCursor()
#callbacks._setCursor() #this will make the GUI jump around because it centers on the cursor
defdeleteBlock(blockId):
track,block=session.data.blockById(blockId)
@ -891,7 +891,7 @@ def deleteBlock(blockId):
#Blocks are never truly deleted but a stored in the Block.allBlocks dict. This keeps the reference to this deleted block alive and it can be added through rearrange, which gets its blocks from this dict.