Skip to content

Commit 0c56b1f

Browse files
committed
increment version, fix handle hover css
1 parent 882a158 commit 0c56b1f

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-gridster",
3-
"version": "0.11.2",
3+
"version": "0.11.3",
44
"main": ["src/angular-gridster.js", "dist/angular-gridster.min.css"],
55
"dependencies": {
66
"angular": ">= 1.2.0",

dist/angular-gridster.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-gridster.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-gridster",
3-
"version": "0.11.2",
3+
"version": "0.11.3",
44
"description": "This directive gives you gridster behavior",
55
"license": "MIT",
66
"homepage": "http://manifestwebdesign.github.io/angular-gridster",

src/angular-gridster.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,14 +1153,14 @@
11531153
/**
11541154
* Gets an element's width
11551155
*/
1156-
this.getElementSizeX = function(){
1156+
this.getElementSizeX = function() {
11571157
return (this.sizeX * this.gridster.curColWidth - this.gridster.margins[1]);
11581158
};
11591159

11601160
/**
11611161
* Gets an element's height
11621162
*/
1163-
this.getElementSizeY = function(){
1163+
this.getElementSizeY = function() {
11641164
return (this.sizeY * this.gridster.curRowHeight - this.gridster.margins[0]);
11651165
};
11661166

@@ -1470,6 +1470,8 @@
14701470
return;
14711471
}
14721472

1473+
console.log(e);
1474+
14731475
// save the draggable setting to restore after resize
14741476
savedDraggable = gridster.draggable.enabled;
14751477
if (savedDraggable) {

src/angular-gridster.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
bottom: 1px;
9595
border-style: solid;
9696
border-width: 0 0 12px 12px;
97-
border-color: transparent transparent #ccc;
97+
border-color: transparent;
9898
}
9999

100100
.handle-ne {
@@ -155,4 +155,8 @@
155155

156156
.gridster .gridster-item:hover .gridster-box {
157157
border: 1.5px solid #B3B2B3;
158+
}
159+
160+
.gridster .gridster-item:hover .handle-se {
161+
border-color: transparent transparent #ccc;
158162
}

0 commit comments

Comments
 (0)