feat: 截图选区支持在选区外点击快速调整#984
Open
HeizoFinds wants to merge 1 commit into
Open
Conversation
HeizoFinds
commented
May 16, 2026
- 设置→功能→截图新增"选区外快速拖拽"开关,默认关闭
- 开启后,在选区外点击或拖动可直接调整选区至鼠标位置
新增 AppSettingsGroup.FunctionScreenshot.dragSelectRectFromOutside 开关(默认关闭)。 开启后,在选区外侧点击会立刻把最近的边或顶点 snap 到鼠标位置,并进入 Drag 状态, mouseup 前持续跟随鼠标(统一了 '单击 teleport' 和 '长按拖动' 两种手势)。 - 经典 8px 边带逻辑保留,作为默认行为 - '整体移动选区' 快捷键按住时优先走 hotkey 路径,与新逻辑不冲突 - 鼠标在选区内仍保持 DragMode.All(拖整体) - i18n: zhHans / zhHant / en 三语
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.