retain legacyTypeRef when undoing content

This commit is contained in:
Kevin Jahns
2026-03-18 14:24:03 +01:00
parent 7795050a74
commit 91cd542630

View File

@@ -707,7 +707,9 @@ export class YType {
* @return {YType<DConf>}
*/
_copy () {
return new YType(this.name)
const ytype = new YType(this.name)
ytype._legacyTypeRef = this._legacyTypeRef
return ytype
}
/**