Skip to content

Commit

Permalink
increment version, fix handle hover css
Browse files Browse the repository at this point in the history
  • Loading branch information
danomatic committed Jan 15, 2015
1 parent 882a158 commit 0c56b1f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-gridster",
"version": "0.11.2",
"version": "0.11.3",
"main": ["src/angular-gridster.js", "dist/angular-gridster.min.css"],
"dependencies": {
"angular": ">= 1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-gridster.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/angular-gridster.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-gridster",
"version": "0.11.2",
"version": "0.11.3",
"description": "This directive gives you gridster behavior",
"license": "MIT",
"homepage": "http://manifestwebdesign.github.io/angular-gridster",
Expand Down
6 changes: 4 additions & 2 deletions src/angular-gridster.js
Original file line number Diff line number Diff line change
Expand Up @@ -1153,14 +1153,14 @@
/**
* Gets an element's width
*/
this.getElementSizeX = function(){
this.getElementSizeX = function() {
return (this.sizeX * this.gridster.curColWidth - this.gridster.margins[1]);
};

/**
* Gets an element's height
*/
this.getElementSizeY = function(){
this.getElementSizeY = function() {
return (this.sizeY * this.gridster.curRowHeight - this.gridster.margins[0]);
};

Expand Down Expand Up @@ -1470,6 +1470,8 @@
return;
}

console.log(e);

// save the draggable setting to restore after resize
savedDraggable = gridster.draggable.enabled;
if (savedDraggable) {
Expand Down
6 changes: 5 additions & 1 deletion src/angular-gridster.less
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
bottom: 1px;
border-style: solid;
border-width: 0 0 12px 12px;
border-color: transparent transparent #ccc;
border-color: transparent;
}

.handle-ne {
Expand Down Expand Up @@ -155,4 +155,8 @@

.gridster .gridster-item:hover .gridster-box {
border: 1.5px solid #B3B2B3;
}

.gridster .gridster-item:hover .handle-se {
border-color: transparent transparent #ccc;
}

0 comments on commit 0c56b1f

Please sign in to comment.