obf 0.6.19 → 0.6.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/obf/pdf.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c73acb37386325b5db5fd87c3797a56337d3e64
|
4
|
+
data.tar.gz: c633ace8ad21a52f7653c963c7867a5c0a0b2102
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1098bc2ffa35b73e3831cfbb89d299d16d63090830a8fc7b67487a856aa06964d7edc5c804f6c23bca60ce08ce9a878117ac2296eaf6dd7b7d59f84263a38ee6
|
7
|
+
data.tar.gz: dbd87beb4db1f3361dea2d6d3d5d3365943138e55678975478691454cf010e2e3d412f9acff3df29d4ff3ae1b655aac96426e744e7e0e6f1fee42338588f6cda
|
data/lib/obf/pdf.rb
CHANGED
@@ -138,11 +138,11 @@ module OBF::PDF
|
|
138
138
|
end
|
139
139
|
if options['pages'] && button['load_board']
|
140
140
|
page = options['pages'][button['load_board']['id']]
|
141
|
-
pdf.fill_color "ffffff"
|
142
|
-
pdf.stroke_color "eeeeee"
|
143
|
-
pdf.fill_and_stroke_rounded_rectangle [button_width - 25, button_height - 5], 20, text_height, 5
|
144
|
-
pdf.fill_color "000000"
|
145
141
|
if page
|
142
|
+
pdf.fill_color "ffffff"
|
143
|
+
pdf.stroke_color "eeeeee"
|
144
|
+
pdf.fill_and_stroke_rounded_rectangle [button_width - 25, button_height - 5], 20, text_height, 5
|
145
|
+
pdf.fill_color "000000"
|
146
146
|
pdf.formatted_text_box [{:text => page, :anchor => "page#{page}"}], :at => [button_width - 25, button_height - 5], :width => 20, :height => text_height, :align => :center, :valign => :center
|
147
147
|
end
|
148
148
|
end
|