romo 0.16.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0cfcaeea4164764aed0606dd0307f0882dffd1e5
4
- data.tar.gz: 76db98bbe143d21f28bc9e26536cd20a042c7ddf
5
2
  SHA512:
6
- metadata.gz: 1243b016f9ebd0946c82be52c374d2299350d44eba85ae0868c8981825fcbf2805d220d00c10f1e04555175ed5c5b02bc33eec4b087265c96068ace920374674
7
- data.tar.gz: 3acea483f0f4fd1f7d3640c25d6a24f390c4986cf48abb8f1e4bb0f2f2c9c1dbab3082eb26e5ebf26a117c7039b427be044c8bde4c136198a166154c742247e2
3
+ data.tar.gz: 3007613cca8321eaf0359e5cf1e069b9486db5d134894fd286861cb40e0c58691f505f6ff62f65a0b2fd859482c846a52f7bb202c4782f4d1f6e0dc97abb82fe
4
+ metadata.gz: c94483d359861e906fb0db0c8098cf6c0e5d8eb6316d9e8311f14ccb6027c1ddae8d93a87276f3c46ec6cbcfe165f0e4619c905c00a1beb94cd917804564d7b1
5
+ SHA1:
6
+ data.tar.gz: b3ec6fe84fa2aee5e7150e92db03ca4a2c5b16e5
7
+ metadata.gz: 5397e3bccba301033313c4f9adac816dfc8c2b16
@@ -91,9 +91,10 @@ a.romo-text {
91
91
  .romo-link:hover,
92
92
  .romo-link-hover:hover { color: $linkColorHover !important;}
93
93
 
94
- .romo-pointer { cursor: pointer; }
95
- .romo-grab { @include cursor-grab; }
96
- .romo-grabbing { @include cursor-grabbing; }
94
+ .romo-cursor-default { cursor: default; }
95
+ .romo-pointer { cursor: pointer; }
96
+ .romo-grab { @include cursor-grab; }
97
+ .romo-grabbing { @include cursor-grabbing; }
97
98
 
98
99
  .romo-user-select-none{ @include user-select(none); }
99
100
 
@@ -25,15 +25,16 @@ var RomoSortable = function(element) {
25
25
  this.elem.on('dragend', $.proxy(this.onDragEnd, this));
26
26
  this.elem.on('drop', $.proxy(this.onDragDrop, this));
27
27
 
28
- this.draggableElems.on('dragstart', $.proxy(this.onDragStart, this));
29
- this.draggableElems.on('dragenter', $.proxy(this.onDragEnter, this));
30
- this.draggableElems.on('dragover', $.proxy(this.onDragOver, this));
31
- this.draggableElems.on('dragend', $.proxy(this.onDragEnd, this));
32
- this.draggableElems.on('drop', $.proxy(this.onDragDrop, this));
33
-
34
- this.draggableElems.on('mousedown', $.proxy(this.onDraggableMouseDown, this));
35
- var handleElems = this.draggableElems.find(this.handleSelector)
28
+ this.draggableElems.on('dragstart', $.proxy(this.onDragStart, this));
29
+ this.draggableElems.on('dragenter', $.proxy(this.onDragEnter, this));
30
+ this.draggableElems.on('dragover', $.proxy(this.onDragOver, this));
31
+ this.draggableElems.on('dragend', $.proxy(this.onDragEnd, this));
32
+ this.draggableElems.on('drop', $.proxy(this.onDragDrop, this));
33
+ this.draggableElems.on('mousedown', $.proxy(this.onDraggableMouseDown, this));
34
+
35
+ var handleElems = this.draggableElems.find(this.handleSelector);
36
36
  handleElems.on('mousedown', $.proxy(this.onHandleMouseDown, this));
37
+
37
38
  $('body').on('mouseup', $.proxy(this.onWindowBodyMouseUp, this));
38
39
 
39
40
  this._resetGrabClasses();
@@ -182,6 +183,7 @@ RomoSortable.prototype.onHandleMouseDown = function(e) {
182
183
 
183
184
  RomoSortable.prototype.onWindowBodyMouseUp = function(e) {
184
185
  this.draggableSelected = false;
186
+ this._resetGrabClasses();
185
187
  }
186
188
 
187
189
  RomoSortable.prototype._resetGrabClasses = function() {
data/lib/romo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Romo
2
- VERSION = "0.16.0"
2
+ VERSION = "0.16.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: romo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2016-09-09 00:00:00 Z
13
+ date: 2016-10-04 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: assert
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  requirements: []
126
126
 
127
127
  rubyforge_project:
128
- rubygems_version: 2.6.4
128
+ rubygems_version: 2.6.6
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: A UI Toolkit