فهرست منبع

better names for LociSelectManager methods

Alexander Rose 5 سال پیش
والد
کامیت
6d4c1aa3ea
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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)