react-msaview 9.4.0 → 9.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/model.ts CHANGED
@@ -280,7 +280,6 @@ export const preservedOnReset = new Set([
280
280
  'drawNodeBubbles',
281
281
  'drawNodeLabels',
282
282
  'showTreeOverview',
283
- 'showTreeScaleBar',
284
283
  'overviewHeight',
285
284
  'turnedOffTracks',
286
285
  'trackHeights',
@@ -2934,14 +2933,11 @@ function stateModelFactory({
2934
2933
  .views(self => ({
2935
2934
  /**
2936
2935
  * #getter
2937
- * the branch-length scale bar over the tree, undefined while
2938
- * `showTreeScaleBar` is off, in cladogram mode, or when the tree area is
2939
- * too narrow for one
2936
+ * the branch-length scale bar over the tree, the guide of its branch-length
2937
+ * scale: undefined in cladogram mode, with the tree off, or when the tree
2938
+ * area is too narrow for one
2940
2939
  */
2941
2940
  get treeScaleBar() {
2942
- if (!self.showTreeScaleBar) {
2943
- return undefined
2944
- }
2945
2941
  return scaleBarLength(
2946
2942
  self.pxPerBranchLength,
2947
2943
  self.effectiveTreeAreaWidth - self.marginLeft * 2,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '9.4.0'
1
+ export const version = '9.5.0'