Skip to content

Commit

Permalink
Merge pull request #1158 from virtualcell/dan-ss-minor-changes
Browse files Browse the repository at this point in the history
The is2D flag is always false in this version
  • Loading branch information
danv61 authored Feb 21, 2024
2 parents f834c3d + d1c06bc commit 1dcd04d
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,11 @@ public boolean isCellEditable(int rowIndex, int columnIndex) {
if(!bEditable) {
return false;
}
Structure structure = speciesContextSpec.getSpeciesContext().getStructure();
if(structure instanceof Membrane) {
return true;
}
// is2D flag permanently set to false in this version, the next 4 rows commented out
// Structure structure = speciesContextSpec.getSpeciesContext().getStructure();
// if(structure instanceof Membrane) {
// return true;
// }
return false;
}
case COLUMN_CLAMPED:{
Expand Down

0 comments on commit 1dcd04d

Please sign in to comment.