mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Merge branch 'ent-7711-Fallo-al-mover-un-ítem-static-image-que-tuviera-vinculado-un-network-link' into 'develop'
Ent 7711 fallo al mover un ítem static image que tuviera vinculado un network link See merge request artica/pandorafms!4346
This commit is contained in:
commit
c6da03316c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -567,6 +567,10 @@ export default class VisualConsole {
|
|||||||
|
|
||||||
Object.keys(this.lineLinks[item.id]).forEach(i => {
|
Object.keys(this.lineLinks[item.id]).forEach(i => {
|
||||||
let lineId = parseInt(i);
|
let lineId = parseInt(i);
|
||||||
|
const found = this.elementIds.indexOf(lineId);
|
||||||
|
if (found === -1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
let line = this.elementsById[lineId] as Line;
|
let line = this.elementsById[lineId] as Line;
|
||||||
if (line.props) {
|
if (line.props) {
|
||||||
let startX = line.props.startPosition.x;
|
let startX = line.props.startPosition.x;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user