Skip to content

Commit

Permalink
chore: comment out setblock behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
heypoom committed Dec 19, 2023
1 parent 9f8b85f commit a416840
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions canvas/src/blocks/machine/components/PaginatedMemoryViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,15 @@ export const PaginatedMemoryViewer = (props: Props) => {
.find((n) => n.selected && n.type === "ValueView")

// Update remote value viewer if it is selected
// TODO: re-implement this by adding selection states (similar to Google Sheets)
if (viewer) {
engine.setBlock(viewer.data.id, "ValueView", {
target: id,
size: end - start + 1,
offset: memStart + start,
})

updateValueViewers()
// engine.setBlock(viewer.data.id, "ValueView", {
// target: id,
// size: end - start + 1,
// offset: memStart + start,
// })
//
// updateValueViewers()
}
}

Expand Down

0 comments on commit a416840

Please sign in to comment.