summaryrefslogtreecommitdiffhomepage
path: root/lib/ruby2d.rb
diff options
context:
space:
mode:
authorTom Black <[email protected]>2017-04-26 17:01:47 -0400
committerTom Black <[email protected]>2017-04-28 18:25:06 -0400
commit3cd7a36b88ae7cc4441417cf44eb1c44ea131f81 (patch)
tree16a7aaca93166342ae1ca05218d2a29b5fadd023 /lib/ruby2d.rb
parent7bf37309d9c948df6947caa7d2b56d448a48e7cb (diff)
downloadruby2d-3cd7a36b88ae7cc4441417cf44eb1c44ea131f81.tar.gz
ruby2d-3cd7a36b88ae7cc4441417cf44eb1c44ea131f81.zip
Store image width and height on creation
Since images are loaded asynchronously on the web and the width and height might have already been set by the user, set them only if they are nil.
Diffstat (limited to 'lib/ruby2d.rb')
0 files changed, 0 insertions, 0 deletions