pageflow-linkmap-page 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46a1404b1e2aa726d653f2d8fe6276c299b4a2235f12fa6f82b19bb3a622ed68
|
4
|
+
data.tar.gz: c8ee99540b5544fefca586f73c3e42a1f173486440ffb651371cf87a4b2871cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51f783bbe8975398f9866020892b6af296048ba50d063b3d618f1066e89be180f2eb19068636a1d6acad4434940f4796f9c3ec1a628c5c5af0518aaa2d759f71
|
7
|
+
data.tar.gz: 08a4b2a21af237eccec303871fe8054f1dd17c55c37d783b92c497c73ee828e559360e779f6c6b7b8ae3d1c48b8f67f4560b4bcc79a7985bd1769b80778f921f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
### Version 1.2.1
|
4
|
+
|
5
|
+
2018-10-18
|
6
|
+
|
7
|
+
[Compare changes](https://github.com/codevise/pageflow-linkmap-page/compare/v1.2.0...v1.2.1)
|
8
|
+
|
9
|
+
- Enforce min size when dragging new hotspot
|
10
|
+
([#37](https://github.com/codevise/pageflow-linkmap-page/pull/37))
|
11
|
+
|
3
12
|
### Version 1.2.0
|
4
13
|
|
5
14
|
2018-07-30
|
@@ -66,6 +66,14 @@ pageflow.linkmapPage.AreaMasksPreviewEmbeddedView = Backbone.Marionette.ItemView
|
|
66
66
|
var width = Math.abs(mouseUpEvent.offsetX - dragStartOffset.x);
|
67
67
|
var height = Math.abs(mouseUpEvent.offsetY - dragStartOffset.y);
|
68
68
|
|
69
|
+
if (width < 10) {
|
70
|
+
width = 50;
|
71
|
+
}
|
72
|
+
|
73
|
+
if (height < 10) {
|
74
|
+
height = 50;
|
75
|
+
}
|
76
|
+
|
69
77
|
view.selection.deferred.resolve({
|
70
78
|
left: left / view.$el.width() * 100,
|
71
79
|
top: top / view.$el.height() * 100,
|
@@ -216,4 +224,4 @@ pageflow.linkmapPage.AreaMasksPreviewEmbeddedView = Backbone.Marionette.ItemView
|
|
216
224
|
|
217
225
|
context.fillStyle = context.createPattern(this.patternSource, 'repeat');
|
218
226
|
}
|
219
|
-
});
|
227
|
+
});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pageflow-linkmap-page
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Codevise Solutions Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pageflow
|