Skip to content

Commit

Permalink
Merge branch 'master' into fix-imagery-invalid-date
Browse files Browse the repository at this point in the history
  • Loading branch information
khalidadil authored Jul 31, 2023
2 parents 5ce2276 + 50559ac commit f6f2a46
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/plugins/displayLayout/components/LineView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,11 @@ export default {
type: Number,
required: true
},
multiSelect: Boolean
multiSelect: Boolean,
isEditing: {
type: Boolean,
required: true
}
},
data() {
return {
Expand All @@ -114,7 +118,7 @@ export default {
showFrameEdit() {
let layoutItem = this.selection.length > 0 && this.selection[0][0].context.layoutItem;

return !this.multiSelect && layoutItem && layoutItem.id === this.item.id;
return this.isEditing && !this.multiSelect && layoutItem && layoutItem.id === this.item.id;
},
position() {
let { x, y, x2, y2 } = this.item;
Expand Down

0 comments on commit f6f2a46

Please sign in to comment.