Repository navigation
Conversation
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.
Linux ScreenCast 的宽高输入原先只保存在连接面板的局部状态;直接开始任务会读到缺失的 UInput 尺寸,并在建立屏幕共享后因 0×0 输入范围连接失败。
验证:12 项单元测试、TypeScript 检查、Vite 构建通过;无头浏览器验证实际连接面板的即时保存、清空,以及实际配置构建函数的拒绝路径。相同表单测试在原版上复现未保存尺寸,在修复版上通过。构建仍有原有的分包大小和静态/动态导入警告。
Fixes #335
Related: MaaXYZ/MaaFramework#1584
Sourcery 总结
在允许建立连接之前,持久化并验证 Linux UInput 屏幕尺寸。
Bug 修复:
增强功能:
测试:
Original summary in English
Summary by Sourcery
Persist and validate Linux UInput screen dimensions before allowing connections.
Bug Fixes:
Enhancements:
Tests: