Browse Source

No title prefix && window resize bug fixed

bioinsilico 3 years ago
parent
commit
65704932fb

File diff suppressed because it is too large
+ 752 - 69
package-lock.json


+ 3 - 3
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@rcsb/rcsb-saguaro-3d",
-  "version": "0.0.30",
+  "version": "0.0.31",
   "description": "RCSB Molstar/Saguaro Web App",
   "main": "build/dist/RcsbFv3DBuilder.js",
   "files": [
@@ -75,8 +75,8 @@
   },
   "dependencies": {
     "@rcsb/rcsb-molstar": "^1.3.0-beta.saguaro.1",
-    "@rcsb/rcsb-saguaro": "^1.4.1",
-    "@rcsb/rcsb-saguaro-app": "^1.1.7",
+    "@rcsb/rcsb-saguaro": "^1.6.0",
+    "@rcsb/rcsb-saguaro-app": "^1.2.1",
     "@types/react": "^17.0.0",
     "@types/react-select": "^3.0.11",
     "molstar": "^1.3.1",

+ 1 - 1
src/RcsbFv3D/RcsbFv3DAssembly.tsx

@@ -35,7 +35,7 @@ export class RcsbFv3DAssembly extends RcsbFv3DAbstract{
             config:{
                 entryId:assemblyData.config.entryId
             },
-            title:"3D Protein Features View: "+assemblyData.config.title,
+            title: assemblyData.config.title,
             subtitle: assemblyData.config.subtitle
         };
         this.cssConfig = assemblyData.cssConfig;

+ 3 - 1
src/RcsbFvSequence/SequenceViews/AssemblyView/AssemblyView.tsx

@@ -239,7 +239,9 @@ export class AssemblyView extends AbstractView<AssemblyViewInterface & AbstractV
     protected updateDimensions(): void{
         const width: number = window.document.getElementById(this.componentDivId)?.getBoundingClientRect().width ?? 0;
         const trackWidth: number = width - 190 - 55;
-        getRcsbFv(this.pfvDivId).updateBoardConfig({boardConfigData:{trackWidth:trackWidth}});
+        getRcsbFv(this.pfvDivId).updateBoardConfig({boardConfigData:{trackWidth:trackWidth}}).then(()=>{
+            this.structureSelectionCallback();
+        });
     }
 
     private select(selection: Array<SelectionInterface>): void{

Some files were not shown because too many files changed in this diff