docs(cursor): clarify optional capture metadata and rendering scope

This commit is contained in:
fufesou
2026-09-12 10:46:05 +08:00
parent 54881092b7
commit 6871ae130e
3 changed files with 6 additions and 3 deletions

View File

@@ -1116,6 +1116,8 @@ class _ImagePaintState extends State<ImagePaint> {
if (!isWeb && isViewScaled() && !zoomCursor.value && peerDpr > 0) {
return (isWindows ? dpr : 1.0) / peerDpr;
}
// Density metadata is optional. Keep the legacy path for hosts that
// omit it so capture-backend upgrades are not a client prerequisite.
var cursorScale = 1.0;
if (isWindows) {
// debug win10