Skip to content

Commit

Permalink
$mpds_cifplayer_player: define as WebComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-donarise committed Mar 26, 2024
1 parent b970ad3 commit 268b27c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions player/player.view.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@ namespace $.$$ {

}

$mol_view_component( $mpds_cifplayer_player )

function is_overlap( check: $mpds_cifplayer_matinfio_internal_obj_atom, atoms: $mpds_cifplayer_matinfio_internal_obj_atom[], delta: number ) {
for (const atom of atoms) {
if ( check.x < atom.x - delta || check.x > atom.x + delta ) continue
Expand Down

0 comments on commit 268b27c

Please sign in to comment.