mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-05 15:17:32 +08:00
Remove serialization bits
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import ObjectSerializer from "../../serialization/ObjectSerializer.js"
|
||||
import IInput from "../IInput.js"
|
||||
|
||||
/**
|
||||
@@ -10,8 +9,6 @@ import IInput from "../IInput.js"
|
||||
|
||||
export default class Cut extends IInput {
|
||||
|
||||
static #serializer = new ObjectSerializer()
|
||||
|
||||
/** @type {(e: ClipboardEvent) => void} */
|
||||
#cutHandler
|
||||
|
||||
@@ -39,7 +36,7 @@ export default class Cut extends IInput {
|
||||
getSerializedText() {
|
||||
return this.blueprint
|
||||
.getNodes(true)
|
||||
.map(node => Cut.#serializer.write(node.entity, false))
|
||||
.map(node => node.entity.toString())
|
||||
.join("")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user