glimmer-dsl-swt 4.20.13.4 → 4.20.13.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/glimmer-dsl-swt.gemspec +0 -0
- data/lib/glimmer/swt/custom/shape.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b15c41b36b1464cbcf34e302e630fce0a9e63f5512754c095d14e646dcc2c2b7
|
4
|
+
data.tar.gz: 02addc76d6e2f275a1c79741f30bf6ba89087fc68e03cbb7ef29eb051cbd8b87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e7595726d4f5c1657b547f2a893a1c83e1469b9ef20d336adb1f7e50a06ea6af69e71a30272dc24a6a50bf9d85cfa9fea558ddc9e1112ef1a6c43d53b011d3f
|
7
|
+
data.tar.gz: 9ccd2bedd1040f95b1e12fdb4dbfac53bf96ade95290e4e1b3e168643843cb4340dc5ca892f3f405a91c77ac81032508a9a256d6eac3798dfdb70518d3804453
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
### 4.20.13.5
|
4
|
+
|
5
|
+
- Fix issue occurring with shape drag & drop when the dragged shape is a drop target too, thus getting dropped back to itself.
|
6
|
+
|
3
7
|
### 4.20.13.4
|
4
8
|
|
5
9
|
- Improved shape drag and drop checking for inclusion in drop target when there are multiple drop targets
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.20.13.
|
1
|
+
4.20.13.5
|
data/glimmer-dsl-swt.gemspec
CHANGED
Binary file
|
@@ -592,7 +592,7 @@ module Glimmer
|
|
592
592
|
if observation_request == 'on_drop'
|
593
593
|
Shape.drop_shapes << self
|
594
594
|
handle_observation_request('on_mouse_up') do |event|
|
595
|
-
if Shape.dragging && include_with_children?(event.x, event.y)
|
595
|
+
if Shape.dragging && !expanded_shapes.include?(Shape.dragged_shape) && include_with_children?(event.x, event.y)
|
596
596
|
drop_event = DropEvent.new(
|
597
597
|
doit: true,
|
598
598
|
dragged_shape: Shape.dragged_shape,
|