MacBookPro.lan 2026-7-5:20:1:24

This commit is contained in:
oskar
2026-07-05 20:01:25 +02:00
parent 471b0aa399
commit 236ceccda4
50 changed files with 14364 additions and 6929 deletions
+3 -2
View File
@@ -1665,7 +1665,8 @@ class CreateNewItem {
const childIsFolded = list.isFoldRoot();
const endPos = list.getLastLineContentEnd();
const endOfLine = cursor.line === endPos.line && cursor.ch === endPos.ch;
const onChildLevel = listIsZoomingRoot || (hasChildren && !childIsFolded && endOfLine);
const onChildLevel = this.after &&
(listIsZoomingRoot || (hasChildren && !childIsFolded && endOfLine));
const indent = onChildLevel
? hasChildren
? list.getChildren()[0].getFirstLineIndent()
@@ -1689,7 +1690,7 @@ class CreateNewItem {
list.addBeforeAll(newList);
}
else {
if (!childIsFolded || !endOfLine) {
if (this.after && (!childIsFolded || !endOfLine)) {
const children = list.getChildren();
for (const child of children) {
list.removeChild(child);
+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "obsidian-outliner",
"name": "Outliner",
"version": "4.10.1",
"version": "4.10.2",
"minAppVersion": "1.11.7",
"description": "Work with your lists like in Workflowy or RoamResearch.",
"author": "Viacheslav Slinko",