ea 0.6.74 → 0.6.75
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/element/compartment_geometry.rb +8 -1
- 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: 8ed01c20dde26afa762488af94cfc743a2627d863447060bfc45e427665ba441
|
|
4
|
+
data.tar.gz: 16fb60b4b1ff368c628d777d5c964822f1ea7d686b940e873ffafdd0a766f9a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4751045cd01f51df9c5646f2f9fb6406f64eb56e448a22167fbe7c3c68c5ec59c4362af94c6482d9e7924e4d181d0d4e0076a8cbe71f5bbb89d67c943863addb
|
|
7
|
+
data.tar.gz: c2a282c40d85667f6b104fd1891487cce5f375ad526022bb2ff82a181d89eb36363acc5dc9a933a318d5a260117030c058c0ec8ea374ca5df114b2dc478eb86d
|
|
@@ -121,10 +121,17 @@ module Ea
|
|
|
121
121
|
# EA's op block: first row 21 below the last attribute row
|
|
122
122
|
# (9pt... 7pt: attr_bottom + 21), uniform 13px pitch across
|
|
123
123
|
# attrs AND ops (6D4C665D: attrs ..520, ops 541..658 step 13).
|
|
124
|
+
# Attribute-empty boxes anchor on the divider instead:
|
|
125
|
+
# first op at divider + 14 (001A64C1: EA ops 104 vs our
|
|
126
|
+
# 125 when attrs were absent).
|
|
124
127
|
def op_first_y
|
|
125
128
|
return nil unless op_lines_count&.positive?
|
|
126
129
|
|
|
127
|
-
|
|
130
|
+
if attr_lines_count.to_i.positive?
|
|
131
|
+
attr_bottom_y + size + 14
|
|
132
|
+
else
|
|
133
|
+
divider_y + size + 7
|
|
134
|
+
end
|
|
128
135
|
end
|
|
129
136
|
|
|
130
137
|
def op_bottom_y
|
data/lib/ea/version.rb
CHANGED