diff options
author | bobzel <zzzman@gmail.com> | 2024-05-15 07:31:10 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-05-15 07:31:10 -0400 |
commit | 8c4e20892671946012d28a1db78a2ac63bb369fc (patch) | |
tree | 369ad9b06cc88720cc72a5ff7c971e4e685b69a4 /src/client/util/DocumentManager.ts | |
parent | 9e40cc8cf9e6ebbe44fa0f600fb1b134d14cd827 (diff) |
removing console logs, unused code and text color changing
Diffstat (limited to 'src/client/util/DocumentManager.ts')
-rw-r--r-- | src/client/util/DocumentManager.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/util/DocumentManager.ts b/src/client/util/DocumentManager.ts index 8b4fec20f..4b4422a40 100644 --- a/src/client/util/DocumentManager.ts +++ b/src/client/util/DocumentManager.ts @@ -282,7 +282,6 @@ export class DocumentManager { }; if (rootContextView) { - // try commenting out const target = await this.focusViewsInPath(rootContextView, options, childViewIterator); this.restoreDocView(target.viewSpec, target.docView, options, target.contextView ?? target.docView, targetDoc); finished?.(target.focused); @@ -296,9 +295,7 @@ export class DocumentManager { ) => { let contextView: DocumentView | undefined; // view containing context that contains target let focused = false; - let count = 0; while (true) { - console.log('Count: ', count); if (docView.Document.layout_fieldKey === 'layout_icon') { await new Promise<void>(res => docView.iconify(res)); options.didMove = true; @@ -309,7 +306,6 @@ export class DocumentManager { if (!childDocView) return { viewSpec: options.anchorDoc ?? viewSpec ?? docView.Document, docView, contextView, focused }; contextView = options.anchorDoc?.layout_unrendered && !childDocView.Document.layout_unrendered ? childDocView : docView; docView = childDocView; - count += 1; } }; |