Skip to content

Commit

Permalink
Merge pull request #65 from amiaopensource/fix-animation
Browse files Browse the repository at this point in the history
fix animation
  • Loading branch information
ablwr authored Mar 16, 2018
2 parents 08b2aad + 876a735 commit 6cb0f99
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 111 deletions.
Binary file modified audiorecorder2-dev/audiorecorder2-osx.tgz
Binary file not shown.
235 changes: 125 additions & 110 deletions audiorecorder2-dev/audiorecorder2-x86_64.run

Large diffs are not rendered by default.

Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion audiorecorder2-dev/audiorecorder2/audiorecorder2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@ def BufferCheck(sr)
Shoes.app(title: "AudioRecorder2", width: 600, height: 520) do
style Shoes::Para, font: "Helvetica"
background aliceblue
@logo = image("Resources/audiorecorder_small.png", left: 160)
@logo = image("Resources/audiorecorder_small_1.png", left: 160)
animate(10) do |frame|
if frame.to_i.even?
@logo.path = "Resources/audiorecorder_small_3.png"
else
@logo.path = "Resources/audiorecorder_small_2.png"
end
end

def PostRecord(targetfile)
window(title: "Post-Record Options", width: 600, height: 550) do
Expand Down

0 comments on commit 6cb0f99

Please sign in to comment.