# HG changeset patch # User drewp@bigasterisk.com # Date 2016-06-11 17:18:05 # Node ID da8f36f809f12aa3827d048cc7b625a16ac5855e # Parent b8d42a411e17daede5c00270d4a596cef77d3aab shorten note labels Ignore-this: d84baceec8da54ec2c9e6fb6e2e238b8 diff --git a/light9/web/timeline/timeline.coffee b/light9/web/timeline/timeline.coffee --- a/light9/web/timeline/timeline.coffee +++ b/light9/web/timeline/timeline.coffee @@ -366,8 +366,8 @@ Polymer screenPos = (pt) => $V([@zoomInX(pt.e(1)), @offsetTop + (1 - pt.e(2)) * @offsetHeight]) - @dia.setNote(@uri, (screenPos(pt) for pt in worldPts), - @graph.uriValue(@uri, U(':effectClass'))) + label = @graph.uriValue(@uri, U(':effectClass')).replace(/.*\//, '') + @dia.setNote(@uri, (screenPos(pt) for pt in worldPts), label) catch e log("during resize of #{@uri}: #{@e}")