/ld27

To get this branch, use:
bzr branch http://9ix.org/bzr/ld27

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2015-09-05 20:31:29 UTC
  • Revision ID: josh@9ix.org-20150905203129-0gb7gax8re47zf7m
inculde lovebird in build if it's required

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
         self.scale = 1.5
238
238
       elseif winh < the.app.height then
239
239
         self.scale = winh / the.app.height
 
240
       else
 
241
         self.scale = 1
240
242
       end
241
243
       view.realTranslate.x = math.floor((winw - self.width * self.scale) / 2)
242
244
       view.realTranslate.y = math.floor((winh - self.height * self.scale) / 2)