jbrowse icon indicating copy to clipboard operation
jbrowse copied to clipboard

Change arrow appearance in Canvas track

Open jelleslager opened this issue 6 years ago • 1 comments

Hi,

I wanted to change the colour (and if possible also the length) of the arrows indicating the direction of features in a Canvas track. I tried modifying the files '[plus/minus]-arrowhead.png', but it seems this is only used for HTML tracks. I couldn't discover from where Canvas tracks get their parts. Any ideas on this?

Thanks!

Jelle

jelleslager avatar May 22 '18 12:05 jelleslager

Hi Jelle, The arrowheads for Canvas are embedded in code. Yuk, but here they are: https://github.com/GMOD/jbrowse/blob/dev/src/JBrowse/View/FeatureGlyph/Box.js#L151

On Tue, May 22, 2018 at 5:24 AM, jelleslager [email protected] wrote:

Hi,

I wanted to change the colour (and if possible also the length) of the arrows indicating the direction of features in a Canvas track. I tried modifying the files '[plus/minus]-arrowhead.png', but it seems this is only used for HTML tracks. I couldn't discover from where Canvas tracks get their parts. Any ideas on this?

Thanks!

Jelle

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GMOD/jbrowse/issues/1054, or mute the thread https://github.com/notifications/unsubscribe-auth/AJlnAZSPel6vt6cfV7ODEPgoBWsz5otbks5t1AOYgaJpZM4UIisA .

enuggetry avatar May 22 '18 23:05 enuggetry