Skip to content

Commit

Permalink
bump threlte to final v6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Jul 31, 2023
1 parent 3ace071 commit 2b9c163
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
},
"dependencies": {
"@iconify/svelte": "^3.1.4",
"@sveltejs/kit": "^1.22.3",
"@threlte/core": "6.0.0-next.11",
"@threlte/extras": "5.0.0-next.16",
"@sveltejs/kit": "^1.22.4",
"@threlte/core": "6.0.0",
"@threlte/extras": "5.0.0",
"d3": "^7.8.5",
"d3-array": "^3.2.4",
"d3-color": "^3.1.0",
Expand All @@ -36,7 +36,7 @@
"d3-scale-chromatic": "^3.0.0",
"d3-shape": "^3.2.0",
"highlight.js": "^11.8.0",
"svelte": "4.1.1",
"svelte": "4.1.2",
"svelte-multiselect": "^10.1.0",
"three": "^0.155.0"
},
Expand Down
1 change: 1 addition & 0 deletions src/lib/structure/Structure.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@
border-radius: var(--struct-border-radius, 3pt);
background: var(--struct-bg, rgba(0, 0, 255, 0.1));
--struct-controls-transition-duration: 0.3s;
overflow: var(--struct-overflow, hidden);
}
.structure:fullscreen :global(canvas) {
height: 100vh !important;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/structure/StructureScene.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
/>

{#if $$slots[`atom-label`]}
<HTML center as="div" position={xyz}>
<HTML center position={xyz}>
<slot name="atom-label" {elem} {xyz} {species} />
</HTML>
{/if}
Expand Down
1 change: 1 addition & 0 deletions src/site/molecules/ethanol.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"@module": "pymatgen.core.structure", "@class": "Molecule", "charge": 0.0, "spin_multiplicity": 1, "sites": [{"name": "C", "species": [{"element": "C", "occu": 1}], "xyz": [0.0072, -0.5687, 0.0], "properties": {}, "label": "C"}, {"name": "C", "species": [{"element": "C", "occu": 1}], "xyz": [-1.2854, 0.2499, 0.0], "properties": {}, "label": "C"}, {"name": "O", "species": [{"element": "O", "occu": 1}], "xyz": [1.1304, 0.3147, 0.0], "properties": {}, "label": "O"}, {"name": "H", "species": [{"element": "H", "occu": 1}], "xyz": [0.0392, -1.1972, 0.89], "properties": {}, "label": "H"}, {"name": "H", "species": [{"element": "H", "occu": 1}], "xyz": [0.0392, -1.1972, -0.89], "properties": {}, "label": "H"}, {"name": "H", "species": [{"element": "H", "occu": 1}], "xyz": [-1.3175, 0.8784, 0.89], "properties": {}, "label": "H"}, {"name": "H", "species": [{"element": "H", "occu": 1}], "xyz": [-1.3175, 0.8784, -0.89], "properties": {}, "label": "H"}, {"name": "H", "species": [{"element": "H", "occu": 1}], "xyz": [-2.1422, -0.4239, -0.0], "properties": {}, "label": "H"}, {"name": "H", "species": [{"element": "H", "occu": 1}], "xyz": [1.9857, -0.1365, -0.0], "properties": {}, "label": "H"}]}

0 comments on commit 2b9c163

Please sign in to comment.