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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/soby.rb +6 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa2b0f27c0224e910a6d53694f10ea21f1a957bc
4
- data.tar.gz: c13458cb4f9533e0347ed7d280decad331c2e7a3
3
+ metadata.gz: be2c09ab0b1ce98aecb7c5b26f169df7d2a5b8ac
4
+ data.tar.gz: a9a6ed9513023a2ee741737872d0569582d86ac5
5
5
  SHA512:
6
- metadata.gz: 759be31e350257947f10e6647a96ee14570a1b2cc449dad19d9c1b9f2e5c0a299c579acd005b588f0315f4da11cb3ceafbc857bc1f3793efb5b88be0f2adf626
7
- data.tar.gz: 0336ce4b1d3d2022ec717c3eb21d7ddd2dc4e47fcea89e3a7e8552fad85766513a77cb987255456317371235f33d3b2046bb634cc9630f91dfb4579d7747bef7
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.5
4
+ version: 0.1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Laviole