diff options
author | bobzel <zzzman@gmail.com> | 2023-05-16 14:50:29 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-05-16 14:50:29 -0400 |
commit | 46cf6c823ca8ab628cd8c5bd7fdfe8945344a014 (patch) | |
tree | 1e49ff8b3c29a3e31ad96ec39dd337cb58136426 /src/client/views/MainView.tsx | |
parent | df7257d1b39f51a7e00a495f0d4a2366f0e21f7d (diff) |
fixed bugs with goldenlayout dragging and undoing. fixed searching for filter values in sidebars. Stopped creating empty list for collections when datafield() is accessed because it messes up undo of a collection. fixed tab title editing. from marquee. Added UndoStack UI and additional naming support in code.
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 853f9cace..50f451c0a 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -915,11 +915,11 @@ export class MainView extends React.Component { return !SelectionManager.Views().some(dv => dv.rootDoc.freeform_snapLines) ? null : ( <div className="mainView-snapLines"> <svg style={{ width: '100%', height: '100%' }}> - {SnappingManager.horizSnapLines().map(l => ( - <line x1="0" y1={l} x2="2000" y2={l} stroke="black" opacity={0.3} strokeWidth={0.5} strokeDasharray={'1 1'} /> + {SnappingManager.horizSnapLines().map((l, i) => ( + <line key={i} x1="0" y1={l} x2="2000" y2={l} stroke="black" opacity={0.3} strokeWidth={0.5} strokeDasharray={'1 1'} /> ))} - {SnappingManager.vertSnapLines().map(l => ( - <line y1="0" x1={l} y2="2000" x2={l} stroke="black" opacity={0.3} strokeWidth={0.5} strokeDasharray={'1 1'} /> + {SnappingManager.vertSnapLines().map((l, i) => ( + <line key={i} y1="0" x1={l} y2="2000" x2={l} stroke="black" opacity={0.3} strokeWidth={0.5} strokeDasharray={'1 1'} /> ))} </svg> </div> |