diff --git a/db/TODO.txt b/db/TODO.txt index 756a86692..38d56bc54 100644 --- a/db/TODO.txt +++ b/db/TODO.txt @@ -5,3 +5,4 @@ - rename leftPaneVisible to leftSidebarVisible - pane is now used for side by side notes - "left" should be preserved since custom widgets may create right sidebar +- migrate black theme to dark theme diff --git a/src/public/app/widgets/section_widgets/link_map.js b/src/public/app/widgets/section_widgets/link_map.js index cf285bb43..6427301e1 100644 --- a/src/public/app/widgets/section_widgets/link_map.js +++ b/src/public/app/widgets/section_widgets/link_map.js @@ -172,7 +172,7 @@ export default class LinkMapWidget extends NoteContextAwareWidget { this.graph.d3Force('charge').strength(-30); this.graph.d3Force('charge').distanceMax(400); - this.renderData(await this.loadNotesAndRelations(this.noteId,1)); + this.renderData(await this.loadNotesAndRelations(this.noteId,2)); } renderData(data, zoomToFit = true, zoomPadding = 10) { @@ -254,7 +254,7 @@ export default class LinkMapWidget extends NoteContextAwareWidget { } paintLink(link, ctx) { - if (this.zoomLevel < 3) { + if (this.zoomLevel < 5) { return; } diff --git a/src/public/stylesheets/themes.css b/src/public/stylesheets/themes.css index 63cf27cb6..cd0a3db98 100644 --- a/src/public/stylesheets/themes.css +++ b/src/public/stylesheets/themes.css @@ -65,7 +65,7 @@ body.theme-dark { --input-text-color: #ccc; --input-background-color: #333; --hover-item-text-color: black; - --hover-item-background-color: #333; + --hover-item-background-color: #777; --active-item-text-color: black; --active-item-background-color: #777; --menu-text-color: white;