soby 0.1.0.5 → 0.1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soby.rb +6 -1
- 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: be2c09ab0b1ce98aecb7c5b26f169df7d2a5b8ac
|
4
|
+
data.tar.gz: a9a6ed9513023a2ee741737872d0569582d86ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f890c9fbf5b48d7c1bd83eb4b34f9423617edf6e03327df81542d8673f021de3785e8e7f89c3dcfcd9e0336733ccc31694c8b7d91a327a609273b3c1d73b46
|
7
|
+
data.tar.gz: b3ec88fb0bf01d394d407f4b28697e7642043bb51ef3aaa33344e32dec45271ef9ea76c519f0af60c2b3f6d600f8bff3b5db1405c7fa4bdd0766a4afd4654e4c
|
data/lib/soby.rb
CHANGED
@@ -157,6 +157,11 @@ class SobyPlayer < Processing::App
|
|
157
157
|
fill(255)
|
158
158
|
noStroke
|
159
159
|
textSize(20)
|
160
|
+
if @current_slide_no < 10
|
161
|
+
translate 2, 0
|
162
|
+
else
|
163
|
+
translate -3.5, 0
|
164
|
+
end
|
160
165
|
text(@current_slide_no.to_s, 10, 30)
|
161
166
|
pop_matrix
|
162
167
|
end
|
@@ -215,7 +220,7 @@ class SobyPlayer < Processing::App
|
|
215
220
|
|
216
221
|
if key == 'c'
|
217
222
|
@frame_number = 1 if @frame_number == nil
|
218
|
-
saveFrame "frame-"@frame_number.to_s + ".png"
|
223
|
+
saveFrame "frame-" + @frame_number.to_s + ".png"
|
219
224
|
@frame_number = @frame_number + 1
|
220
225
|
end
|
221
226
|
|