From 28237cd44d6f737e01b2d740525e4c91c27e74e8 Mon Sep 17 00:00:00 2001 From: "stan.donarise" Date: Sat, 7 Sep 2024 22:10:15 +1100 Subject: [PATCH] don't hide non-formers button for comparison #40 --- plot/cube/cube.view.ts | 3 ++- plot/matrix/matrix.view.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plot/cube/cube.view.ts b/plot/cube/cube.view.ts index 47cd30d..3879d99 100644 --- a/plot/cube/cube.view.ts +++ b/plot/cube/cube.view.ts @@ -29,7 +29,8 @@ namespace $.$$ { setup() { return [ ... this.show_fixel() ? [ this.Fixel() ] : [], - this.multi_jsons() ? this.Intersection_on() : this.Nonformers(), + ... this.multi_jsons() ? [ this.Intersection_on() ] : [], + this.Nonformers(), ... this.show_setup() ? [ this.X_order(), this.Y_order(), this.Z_order() ] : [], ] } diff --git a/plot/matrix/matrix.view.ts b/plot/matrix/matrix.view.ts index 48af564..2263cac 100644 --- a/plot/matrix/matrix.view.ts +++ b/plot/matrix/matrix.view.ts @@ -53,7 +53,8 @@ namespace $.$$ { setup() { return [ ... this.json().payload.fixel ? [ this.Fixel() ] : [], - this.multi_jsons() ? this.Intersection_on() : this.Nonformers(), + ... this.multi_jsons() ? [ this.Intersection_on() ] : [], + this.Nonformers(), ... this.show_setup() ? this.sorting() : [], ] }