Skip to content

Commit

Permalink
Fixed blurry trapezoid in Firefox, and enable AA of the trapezoid in …
Browse files Browse the repository at this point in the history
…chrome
  • Loading branch information
Erik Derohanian committed Dec 7, 2012
1 parent dea6ce6 commit 286fa6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jbrowse_conf.json
Expand Up @@ -13,4 +13,4 @@

// the variable below does nothing
placeholder: 1
}
}
6 changes: 3 additions & 3 deletions src/JBrowse/Browser.js
Expand Up @@ -237,7 +237,6 @@ Browser.prototype.initView = function() {
//create location trapezoid
if( this.config.show_nav ) {
this.locationTrap = dojo.create('div', {className: 'locationTrap'}, topPane );
this.locationTrap.className = "locationTrap";
}

// hook up GenomeView
Expand Down Expand Up @@ -606,8 +605,8 @@ Browser.prototype.onFineMove = function(startbp, endbp) {
+ "left: " + this.view.overviewBox.l + "px;"
+ "width: " + (trapRight - trapLeft) + "px;"
+ "border-bottom: " + this.view.locationTrapHeight + "px solid #A9C6EB;"
+ "border-left: " + trapLeft + "px solid white;"
+ "border-right: " + (this.view.overviewBox.w - trapRight) + "px solid white;"
+ "border-left: " + trapLeft + "px solid transparent;"
+ "border-right: " + (this.view.overviewBox.w - trapRight) + "px solid transparent;"
+ "border-top: 0px dotted;";

this.locationTrap.style.cssText = locationTrapStyle;
Expand Down Expand Up @@ -1405,6 +1404,7 @@ Browser.prototype.createNavBox = function( parent ) {
id: "location",
name: "location",
style: { width: locLength+'ex' },
style: { width: '25ex', height: '20px' },
maxLength: 400,
store: this._makeLocationAutocompleteStore(),
searchAttr: "name"
Expand Down
2 changes: 1 addition & 1 deletion src/jszlib
Submodule jszlib updated 1 files
+727 −737 inflate.js

0 comments on commit 286fa6b

Please sign in to comment.