/ld27

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

« back to all changes in this revision

Viewing changes to pause_view.lua

  • Committer: Josh C
  • Date: 2015-09-05 20:31:03 UTC
  • Revision ID: josh@9ix.org-20150905203103-hgxn36kuk5fm739l
catch <1080p scaling case

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
              local boxB = boxT + boxH
9
9
              local nr = 'data/NewRocker-Regular.otf'
10
10
 
 
11
              self.scale = the.app.scale
 
12
              self.realTranslate = the.app.view.realTranslate
 
13
 
11
14
              self:add(Fill:new{
12
15
                          fill = {240,221,58},
13
16
                          x = boxL - 16,
48
51
           end,
49
52
   onUpdate = function (self)
50
53
                 if the.keys:justPressed('escape', 'n') then
 
54
                   if love.system.getOS() == 'Android' then
 
55
                     the.app:quit()
 
56
                   else
51
57
                    self:deactivate()
 
58
                   end
52
59
                 elseif the.keys:justPressed('q', 'y') then
53
60
                    if the.profiler then
54
61
                       the.profiler:stop()
60
67
                    the.app:quit()
61
68
                 end
62
69
              end
63
 
}
 
 
b'\\ No newline at end of file'
 
70
}