ea 0.6.43 → 0.6.44
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 +4 -4
- data/lib/ea/svg/ea_emitter/label/end_label.rb +5 -5
- data/lib/ea/version.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: c4226ee23957308acb156bd08e6d8a3444a093bbc1863e1deec296b0dca5bc90
|
|
4
|
+
data.tar.gz: 2bbb67e29d9fe82a1900ba2fa4c15b0d458bf5bdcb74158bb27a2d9bfebb35ae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40a68689e38e6fd8f53f18bc257fc216a1fdbe4b37b72c7af59f93ed73b95d1a18cb92552769a1c2685a255bbe9c331fc3927b82d917f0064ae239b0b2dde369
|
|
7
|
+
data.tar.gz: f260257d3421882d91aa9546d5bf9233421b506d27423160e2ae7fd1b776595903042cba6165a58e803495a524990dacf8dc5d3a0eb5c61e58675d06be22d155
|
|
@@ -62,11 +62,11 @@ module Ea
|
|
|
62
62
|
text_pos, mult_pos)
|
|
63
63
|
elsif mult_box && stored_offsets_zero?(mult_box)
|
|
64
64
|
# A stored mult box with OX=0:OY=0 means "EA default":
|
|
65
|
-
# the multiplicity sits 15px
|
|
66
|
-
# regardless of line direction
|
|
67
|
-
# dy = +15 constant
|
|
68
|
-
#
|
|
69
|
-
mult_pos = [anchor[0], anchor[1] + 15]
|
|
65
|
+
# the multiplicity sits 12px right of and 15px below the
|
|
66
|
+
# endpoint anchor, regardless of line direction
|
|
67
|
+
# (87-sample corpus fit: dy = +15 constant, dx = +12
|
|
68
|
+
# dominant with a +3 minority).
|
|
69
|
+
mult_pos = [anchor[0] + 12, anchor[1] + 15]
|
|
70
70
|
end
|
|
71
71
|
show_property = property_label?(connector, end_kind)
|
|
72
72
|
|
data/lib/ea/version.rb
CHANGED