diff options
| author | bobzel <zzzman@gmail.com> | 2024-10-01 14:39:42 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-10-01 14:39:42 -0400 |
| commit | b4d9626be5dd3fc158fd05589b5deca59a08dd4f (patch) | |
| tree | 0510beaf0cf336e7fe15cc377acf2081bfc67469 /src/client/views/InkTranscription.tsx | |
| parent | 19f0184da33b5080f301baf78cf8e6f6d113d79a (diff) | |
cleaning up smart drawing menu options.
Diffstat (limited to 'src/client/views/InkTranscription.tsx')
| -rw-r--r-- | src/client/views/InkTranscription.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/InkTranscription.tsx b/src/client/views/InkTranscription.tsx index c6b55d55a..b4f4ebf63 100644 --- a/src/client/views/InkTranscription.tsx +++ b/src/client/views/InkTranscription.tsx @@ -344,7 +344,7 @@ export class InkTranscription extends React.Component { const bounds: { x: number; y: number; width?: number; height?: number }[] = []; // calculate the necessary bounds from the selected ink docs - selected.map( + selected.forEach( action(d => { const x = NumCast(d.x); const y = NumCast(d.y); @@ -367,7 +367,7 @@ export class InkTranscription extends React.Component { } // map through all the selected ink strokes and create the groupings - selected.map( + selected.forEach( action(d => { const dx = NumCast(d.x); const dy = NumCast(d.y); |
