mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 05:39:05 +08:00
fix(windows): remember size not working for SelectionAction window (#12132)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
99b431ec92
commit
401d66f3dd
@ -1435,6 +1435,12 @@ export class SelectionService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
actionWindow.setBounds({ x, y, width, height })
|
actionWindow.setBounds({ x, y, width, height })
|
||||||
|
|
||||||
|
// [Windows only] Update remembered window size for custom resize
|
||||||
|
// setBounds() may not trigger the 'resized' event, so we need to update manually
|
||||||
|
if (this.isRemeberWinSize) {
|
||||||
|
this.lastActionWindowSize = { width, height }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user