commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/287d56ffaf6e/ changeset: 287d56ffaf6e user: jgoecks date: 2012-03-13 22:15:46 summary: Trackster: prevent resizing of label and reference tracks. affected #: 1 file diff -r 7fe7059a78a37323dc3e8efb832f5831be625dd8 -r 287d56ffaf6e7d8f5130469d427e65a9a68c6fb1 static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -3161,7 +3161,9 @@ this.content_div = $("<div class='track-content'>").appendTo(this.container_div); if (this.container) { this.container.content_div.append(this.container_div); - this.add_resize_handle(); + if ( !("resize" in obj_dict) || obj_dict.resize ) { + this.add_resize_handle(); + } } }; @@ -3920,8 +3922,7 @@ var LabelTrack = function (view, container) { var obj_dict = { - todo: "label", - todo: false + resize: false }; Track.call(this, view, container, obj_dict); this.container_div.addClass( "label-track" ); @@ -4237,7 +4238,7 @@ }); var ReferenceTrack = function (view) { - TiledTrack.call(this, "reference", view, { content_div: view.top_labeltrack }, {}); + TiledTrack.call(this, "reference", view, { content_div: view.top_labeltrack, resize: false }, {}); view.reference_track = this; this.left_offset = 200; https://bitbucket.org/galaxy/galaxy-central/changeset/3b1f0bb99b43/ changeset: 3b1f0bb99b43 user: jgoecks date: 2012-03-13 22:22:56 summary: Trackster: make reference track compatible with changeset 8e9d2b492c4c. affected #: 1 file diff -r 287d56ffaf6e7d8f5130469d427e65a9a68c6fb1 -r 3b1f0bb99b43924b869cfc0df626738f18d968fc static/scripts/trackster.js --- a/static/scripts/trackster.js +++ b/static/scripts/trackster.js @@ -4281,6 +4281,14 @@ return new Tile(track, tile_index, resolution, canvas, seq); } this.content_div.css("height", "0px"); + }, + /** + * If there is a tile with sequence data, set content div so that data is visible. + */ + after_show_tile: function(tile) { + if (tile) { + this.content_div.css("height", "12px"); + } } }); Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket