Browse Source

better names for LociSelectManager methods

Alexander Rose 5 years ago
parent
commit
6d4c1aa3ea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/mol-plugin/util/interactivity.ts

+ 2 - 2
src/mol-plugin/util/interactivity.ts

@@ -134,7 +134,7 @@ namespace Interactivity {
     //
 
     export class LociSelectManager extends LociMarkManager {
-        selectToggle(current: Loci<ModelLoci>, applyGranularity = true) {
+        toggle(current: Loci<ModelLoci>, applyGranularity = true) {
             if (ModelLoci.isEmpty(current.loci)) return;
 
             const normalized = this.normalizedLoci(current, applyGranularity)
@@ -145,7 +145,7 @@ namespace Interactivity {
             }
         }
 
-        selectExtend(current: Loci<ModelLoci>, applyGranularity = true) {
+        toggleExtend(current: Loci<ModelLoci>, applyGranularity = true) {
             if (ModelLoci.isEmpty(current.loci)) return;
 
             const normalized = this.normalizedLoci(current, applyGranularity)