/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: 2014-07-05 00:05:23 UTC
  • Revision ID: josh@9ix.org-20140705000523-qxhxpi5ixst875zb
control by touch ("mouse")

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
242
240
       end
243
241
       view.realTranslate.x = math.floor((winw - self.width * self.scale) / 2)
244
242
       view.realTranslate.y = math.floor((winh - self.height * self.scale) / 2)