Skip to content

Commit 89f48aa

Browse files
committed
release: v0.27.5
1 parent addc4d6 commit 89f48aa

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "NoteGen",
4-
"version": "0.27.4",
4+
"version": "0.27.5",
55
"identifier": "com.codexu.NoteGen",
66
"build": {
77
"beforeDevCommand": "pnpm dev",
@@ -45,7 +45,7 @@
4545
"icons/icon.ico"
4646
],
4747
"iOS": {
48-
"bundleVersion": "0.27.4",
48+
"bundleVersion": "0.27.5",
4949
"developmentTeam": "RGZC4ZTJMU"
5050
},
5151
"macOS": {

src/app/core/main/editor/image/image-editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

33
import { useEffect, useState, useRef } from 'react'
4-
import { Cropper, CropperRef } from 'react-advanced-cropper'
4+
import { Cropper, CropperRef, Priority } from 'react-advanced-cropper'
55
import 'react-advanced-cropper/dist/style.css'
66
import { Button } from '@/components/ui/button'
77
import {
@@ -460,7 +460,7 @@ export function ImageEditor({ filePath }: ImageEditorProps) {
460460
className="h-full w-full min-h-0 min-w-0"
461461
defaultSize={getInitialCropSize}
462462
defaultVisibleArea={getInitialVisibleArea}
463-
priority="visibleArea"
463+
priority={Priority.visibleArea}
464464
stencilProps={{
465465
movable: true,
466466
resizable: true,

src/app/core/main/mark/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { filterMarks, getTrashRecordFilters } from "./mark-filters";
1414

1515
export function NoteSidebar() {
1616
const t = useTranslations();
17-
const { trashState, marks, setMarks, recordFilters, initRecordViewMode } = useMarkStore()
17+
const { trashState, marks, setMarks, initRecordViewMode } = useMarkStore()
1818
const visibleTrashMarks = React.useMemo(() => filterMarks(marks, getTrashRecordFilters()), [marks])
1919

2020
useEffect(() => {

src/components/ui/agent-plan.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ interface AgentPlanProps {
7575
pendingConfirmation?: {
7676
toolName: string;
7777
params: Record<string, any>;
78+
previewParams?: Record<string, any>;
7879
originalContent?: string;
7980
modifiedContent?: string;
8081
filePath?: string;

0 commit comments

Comments
 (0)