mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-28 03:24:43 +08:00
Small refactoring
This commit is contained in:
@@ -37,9 +37,9 @@ export default class Paste extends Context {
|
||||
nodes.forEach(node => {
|
||||
const locationOffset = [
|
||||
mousePosition[0] - left,
|
||||
mousePosition[1] - top
|
||||
mousePosition[1] - top,
|
||||
]
|
||||
node.addLocation(locationOffset)
|
||||
node.addLocation(this.blueprint.compensateTranslation(locationOffset))
|
||||
node.setSelected(true)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user