Skip to content

Commit

Permalink
Run Jake to test and build.
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinClark committed Dec 6, 2013
1 parent 37ab5b8 commit 20c4815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions dist/leaflet.draw-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -2030,9 +2030,7 @@ L.Toolbar = L.Class.extend({
_showActionsToolbar: function () {
var buttonIndex = this._activeMode.buttonIndex,
lastButtonIndex = this._lastButtonIndex,
buttonHeight = 26, // TODO: this should be calculated
borderHeight = 1, // TODO: this should also be calculated
toolbarPosition = (buttonIndex * buttonHeight) + (buttonIndex * borderHeight) - 1;
toolbarPosition = this._activeMode.button.offsetTop - 1;

// Correctly position the cancel button
this._actionsContainer.style.top = toolbarPosition + 'px';
Expand Down
Loading

0 comments on commit 20c4815

Please sign in to comment.