put streamline & simplify into ele obj too

This commit is contained in:
Ryan Di
2025-06-13 18:12:56 +10:00
parent c08840358b
commit 37b75263f8
8 changed files with 57 additions and 36 deletions
+2 -1
View File
@@ -302,7 +302,8 @@ const restoreElement = (
lastCommittedPoint: null,
simulatePressure: element.simulatePressure,
pressures: element.pressures,
pressureSensitivity: element.pressureSensitivity ?? null,
// legacy, for backwards compatibility
drawingConfigs: element.drawingConfigs ?? null,
});
}
case "image":