+ /*
+ * save original colours, for reset on Cancel
+ */
+ Map<String, FeatureColourI> oldColours = new HashMap<>();
+ for (SequenceFeature sf : features)
+ {
+ String type = sf.getType();
+ if (type != null)
+ {
+ oldColours.put(type, getFeatureStyle(type));
+ }
+ }
+