Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
rake (10.3.2)
rake (12.3.1)

PLATFORMS
ruby

DEPENDENCIES
rake

BUNDLED WITH
1.16.2
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
$:.unshift("~/.rubymotion/rubymotion-templates")

require 'motion/project/template/ios'

begin
Expand Down
4 changes: 2 additions & 2 deletions app/views/shapes_view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class ShapesView < UIButton
def init
super

setBackgroundColor UIColor.blackColor
backgroundColor = UIColor.blackColor

# addSubview(image_view = UIImageView.new)
# image_view.image = UIImage.imageNamed('title')
Expand All @@ -18,7 +18,7 @@ def init
self
end

def animate(sender)
def animate(_)
if @image_layer.opacity > 0.5
@image_layer.opacity = 0.5
@image_layer.position = [161, 235]
Expand Down