Skip to content

Commit

Permalink
Tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Goran Topic committed Feb 16, 2012
1 parent b68b07c commit bda8711
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions client/src/visualizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,11 +607,11 @@ var Visualizer = (function($, window, undefined) {
warning = true;
return;
}
if ($.isEmptyObject(val)) {
// defined, but lacks any visual presentation
if ($.isEmptyObject(val)) {
// defined, but lacks any visual presentation
warning = true;
return;
}
return;
}
if (val.glyph) {
if (val.position == "left") {
prefix = val.glyph + prefix;
Expand Down Expand Up @@ -1690,9 +1690,9 @@ Util.profileStart('arcs');
var textStart = textBox.x;
var textEnd = textBox.x + textBox.width;

// adjust by margin for arc drawing
textStart -= Configuration.visual.arcTextMargin;
textEnd += Configuration.visual.arcTextMargin;
// adjust by margin for arc drawing
textStart -= Configuration.visual.arcTextMargin;
textEnd += Configuration.visual.arcTextMargin;

if (from > to) {
var tmp = textStart; textStart = textEnd; textEnd = tmp;
Expand Down
2 changes: 1 addition & 1 deletion index.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
var annotatorUI = new AnnotatorUI(dispatcher, svg);
var spinner = new Spinner(dispatcher, '#spinner');
var logger = new AnnotationLog(dispatcher);
//Util.profileEnable();
Util.profileEnable();
dispatcher.post('init');
});

Expand Down

0 comments on commit bda8711

Please sign in to comment.