Skip to content

#1384 Keep background dragging when pointer leaves canvas#1385

Merged
thekingofcity merged 1 commit intorailmapgen:mainfrom
Unnamed2964:fix/canvas-drag-release-outside
Mar 18, 2026
Merged

#1384 Keep background dragging when pointer leaves canvas#1385
thekingofcity merged 1 commit intorailmapgen:mainfrom
Unnamed2964:fix/canvas-drag-release-outside

Conversation

@Unnamed2964
Copy link
Contributor

fix #1384

其他说明

本功能代码主要由 Gemini 2.5 Pro 辅助生成。经过人工测试,确认功能行为符合预期且与现有业务逻辑兼容。

Copy link
Member

@thekingofcity thekingofcity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thekingofcity thekingofcity merged commit 9b76b5f into railmapgen:main Mar 18, 2026
1 check passed
@thekingofcity thekingofcity changed the title #1384 fix: Keep canvas drag state when mouse leaves #1384 Keep background dragging when pointer leaves canvas Mar 18, 2026
@Unnamed2964 Unnamed2964 deleted the fix/canvas-drag-release-outside branch March 18, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

如果在拖动画布时,鼠标指针移出画布,那么应该仍保持拖动状态,且在鼠标抬起时释放拖动状态

2 participants