Skip to content

improve: 墨迹选择框 - #725

Open
AstrZero wants to merge 400 commits into
net6from
codex/unify-ink-selection-overlay
Open

AstrZero wants to merge 400 commits into
net6from
codex/unify-ink-selection-overlay

Conversation

@AstrZero

Copy link
Copy Markdown
Collaborator

github-actions Bot and others added 30 commits August 4, 2026 13:51
# Conflicts:
#	.github/workflows/dotnet-desktop.yml
# Conflicts:
#	.github/workflows/dotnet-desktop.yml
# Conflicts:
#	.github/workflows/dotnet-desktop.yml
# Conflicts:
#	InkCanvas.PluginSdk/InkCanvas.PluginSdk.csproj
@CJKmkp

CJKmkp commented Oct 22, 2026

Copy link
Copy Markdown
Member

还是有问题,触摸会抽,而且套索选还用不了

PrefacedCorg and others added 5 commits October 22, 2026 17:48
Track active booth touch points to avoid stale WPF manipulator counts, reset touch state when multitouch writing is toggled, and prevent writing or erasing gestures from dragging the preview. Keep two-finger preview gestures available when a second finger joins after the gesture starts.
Add booth-specific capture, rotate, correction, menu, and album controls, with one-time toolbar seeding and visibility settings. Keep control states in sync with booth and photo-preview modes, and add localized labels.
新增鼠标模式绘图快捷键保留设置
@PANDAJSR

PANDAJSR commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

为什么墨迹和图片无法同时被选中,这个pr是解决这个问题的吗

AstrZero and others added 8 commits October 25, 2026 12:04
fix: 修复清空组件关闭红色强调后重载恢复的问题
支持按项目选择编译/运行/杀进程,DLL 子项目仅保留编译按钮;新增日志自动换行开关。

同时将新项目加入解决方案。
构建主程序时在 Ink Canvas 目录执行 dotnet build,只构建主项目及其 ProjectReference,避免解决方案构建把正在运行的 DevTools 一起编译导致文件占用失败。
新增 Release 构建产物目录字段,完善构建模式切换逻辑
通过进程环境变量指定 MSBuild 配置,确保不同模式使用对应输出目录
# Conflicts:
#	InkCanvas.DevTools/BuildRunner.cs
#	InkCanvas.DevTools/InkCanvas.DevTools.csproj
* docs: update README.md

* docs: update README-en.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
@AstrZero AstrZero linked an issue Oct 25, 2026 that may be closed by this pull request
9 of 10 tasks
AstrZero and others added 6 commits October 26, 2026 06:51
- 进入展台默认使用红色笔,不强制切换工具
- 展台重建工具栏后同步逻辑工具并恢复笔按钮蓝色背景
- 照片页停止并清理 A4 纸红色识别框,返回直播页再恢复
- 菜单矫正开关变化后同步展台工具栏组件高亮
- 识别只在空闲时执行并先降采样,降低高分辨率书写卡顿
- 修复合并后 MW_BoardRoaming 关闭按钮引用不存在的 CloseBoardRoamingPopup

Fixes #741
- 照片矫正已全部使用 OpenCvSharp,代码中无任何 AForge 引用
- net6 合入的 RestorePackagesWithLockFile 会在构建时生成 packages.lock.json,纳入版本控制避免反复出现未跟踪文件
1. 修复套索选失效:仅隐藏原生 InkCanvasSelectionAdorner,保留 AdornerLayer 本身,恢复套索选择橡皮筋绘制与交互
2. 修复触摸缩放/拖拽抽搐:在 ImageSelectionOverlay 中增加触控设备与合成鼠标事件的互斥隔离,杜绝双重事件触发
3. 彻底解决 Issue #654 墨迹缩成一坨:重构变换模型为基于按下时初始快照(Baseline Snapshot)的单次矩阵映射,彻底消除每帧递推变换导致的舍入误差与分母退化
@AstrZero

Copy link
Copy Markdown
Collaborator Author

note: 还是用不了 回家修

@AstrZero

Copy link
Copy Markdown
Collaborator Author

这个死版今天应该是发不出去了(紧张

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

在白板中选择并尝试缩放墨迹时墨迹异常

10 participants