Skip to content

Commit

Permalink
0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
pinittech committed May 12, 2024
1 parent 4693df9 commit 8bee763
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -749,14 +749,14 @@ export default class CaretPlugin extends Plugin {
const currentLeaf = this.app.workspace.activeLeaf;
const path = "caret/chats";
const folder = this.app.vault.getFolderByPath(path);
console.log(this.app);
console.log(this.app.vault.getConfig());

if (currentLeaf?.view.getViewType() === "canvas") {
const canvasView = currentLeaf.view;
const canvas = (canvasView as any).canvas;
const viewportNodes = canvas.getViewportNodes();
}
console.log(currentLeaf);
console.log(currentLeaf?.view);
},
});
this.addCommand({
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "caret",
"name": "Caret",
"version": "0.2.7",
"version": "0.2.8",
"minAppVersion": "1.5.12",
"description": "Caret, working nicely with computers",
"author": "Jake Colling",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "caret",
"version": "0.2.7",
"version": "0.2.8",
"description": "This is caret",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,14 @@
height: 200px;
overflow: auto; /* Changed from 'hidden' to 'auto' to allow scrolling */
}

.insert-file-file-name {
font-size: 14px;
color: black;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 2px;
border: 1px solid transparent; /* Ensures layout doesn't change when selected */
transition: font-size 0.2s, border-color 0.2s; /* Smooth transition for visual changes */

}

.file-filter-input {
margin-bottom: 4px;
width: 100%;
Expand Down

0 comments on commit 8bee763

Please sign in to comment.