Commit 2f0daaf1 authored by Robin Tissot's avatar Robin Tissot
Browse files

Fixes attaching tooltip to lines without baselines.

parent 4afa4bff
...@@ -181,7 +181,8 @@ class SegmenterLine { ...@@ -181,7 +181,8 @@ class SegmenterLine {
} }
this.tooltipText = this.type; this.tooltipText = this.type;
this.segmenter.attachTooltip(this, this.baselinePath); let tooltipTarget = this.baseline !== null ? this.baselinePath : this.maskPath;
this.segmenter.attachTooltip(this, tooltipTarget);
this.refresh(); this.refresh();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment