Skip to content

Commit

Permalink
fix: tool mode
Browse files Browse the repository at this point in the history
  • Loading branch information
silvester-pari committed Oct 23, 2023
1 parent ef267e7 commit 64d8788
Showing 1 changed file with 11 additions and 29 deletions.
40 changes: 11 additions & 29 deletions app/src/components/UiPanelsLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,37 +70,19 @@ export default {
handler(newVal) {
if (this.gtif && !newVal) {
this.panels.left[1].title = 'Narratives';
this.panels.right = [
{
id: 4,
title: 'Information',
heightPercentage: 50,
},
{
id: 5,
title: 'Analysis',
heightPercentage: 50,
},
];
this.panels.right = [];
} else {
this.panels.left[1].title = 'Layers';
this.panels.right = [
{
id: 4,
title: 'Layers',
heightPercentage: 33,
},
{
id: 5,
title: 'Filters',
heightPercentage: 33,
},
{
id: 6,
title: 'Layers',
heightPercentage: 33,
},
];
this.panels.right = [{
id: 4,
title: 'Information',
heightPercentage: 50,
},
{
id: 5,
title: 'Analysis',
heightPercentage: 50,
}];
}
},
},
Expand Down

0 comments on commit 64d8788

Please sign in to comment.