From 21bfad9ef00ec3dd3afecf9ee70360b7a853bd9f Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Wed, 15 Mar 2023 12:03:11 +0100 Subject: [PATCH] chore: add aux mesh desc --- common/constants.js | 2 ++ src/atlasComponents/sapi/translateV3.ts | 2 +- .../viewerCtrl/viewerCtrlCmp/viewerCtrlCmp.template.html | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common/constants.js b/common/constants.js index ce25c3a98..2deb29b25 100644 --- a/common/constants.js +++ b/common/constants.js @@ -146,6 +146,8 @@ If you do not accept the Terms & Conditions you are not permitted to access or u CONFIGURE_LAYER: 'Configure layer', REMOVE_FRONTAL_OCTANT_HELPER_TEXT: `Hide the octant facing the user, and overlaying the slice views.`, + + AUXMESH_DESC: `Some templates contains auxiliary meshes. They compliment the appearance of the template in perspective view.`, } exports.QUICKTOUR_DESC ={ diff --git a/src/atlasComponents/sapi/translateV3.ts b/src/atlasComponents/sapi/translateV3.ts index 4abda4e69..a2c258e34 100644 --- a/src/atlasComponents/sapi/translateV3.ts +++ b/src/atlasComponents/sapi/translateV3.ts @@ -385,7 +385,7 @@ class TranslateV3 { transform, auxMeshes: [{ labelIndicies: [Number(splitPrecompMeshVol[1])], - name: "auxmesh" + name: "Auxiliary mesh" }] }) } diff --git a/src/viewerModule/nehuba/viewerCtrl/viewerCtrlCmp/viewerCtrlCmp.template.html b/src/viewerModule/nehuba/viewerCtrl/viewerCtrlCmp/viewerCtrlCmp.template.html index e723b4cd9..3145dbb64 100644 --- a/src/viewerModule/nehuba/viewerCtrl/viewerCtrlCmp/viewerCtrlCmp.template.html +++ b/src/viewerModule/nehuba/viewerCtrl/viewerCtrlCmp/viewerCtrlCmp.template.html @@ -17,7 +17,10 @@ <mat-divider class="mt-1 mb-1"></mat-divider> <h3 class="text mat-h3"> - Toggle auxiliary meshes + <span> + Toggle auxiliary meshes + </span> + <i [matTooltip]="CONST.AUXMESH_DESC" class="fas fa-question"></i> </h3> <form [formGroup]="auxMeshFormGroup"> -- GitLab