- version change in Info.plist
- ESC exits from keys or pad redefine state.
This commit is contained in:
@@ -23,11 +23,11 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>1.0.8</string>
|
<string>1.1.0</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.0.8</string>
|
<string>1.1.0</string>
|
||||||
<key>CSResourcesFileMapped</key>
|
<key>CSResourcesFileMapped</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
@@ -41,4 +41,4 @@
|
|||||||
<key>SUPublicDSAKeyFile</key>
|
<key>SUPublicDSAKeyFile</key>
|
||||||
<string>dsa_pub.pem</string>
|
<string>dsa_pub.pem</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ function update_menu()
|
|||||||
menu_count=0
|
menu_count=0
|
||||||
menu_state=2
|
menu_state=2
|
||||||
end
|
end
|
||||||
elseif btnp(keyDown) or btnp(KEY_DOWN) or padp(BTN_DOWN) padp(btnDown) then
|
elseif btnp(keyDown) or btnp(KEY_DOWN) or padp(BTN_DOWN) or padp(btnDown) then
|
||||||
menu_sel=menu_sel+1
|
menu_sel=menu_sel+1
|
||||||
if menu_sel==3 then menu_sel=0 end
|
if menu_sel==3 then menu_sel=0 end
|
||||||
elseif btnp(keyUp) or btnp(KEY_UP) or padp(BTN_UP) or padp(btnUp) then
|
elseif btnp(keyUp) or btnp(KEY_UP) or padp(BTN_UP) or padp(btnUp) then
|
||||||
@@ -399,6 +399,10 @@ function update_menu()
|
|||||||
quit()
|
quit()
|
||||||
end
|
end
|
||||||
elseif menu_state==1 then
|
elseif menu_state==1 then
|
||||||
|
if btnp(KEY_ESCAPE) then
|
||||||
|
menu_count = 0
|
||||||
|
menu_state = 0
|
||||||
|
end
|
||||||
if menu_count==0 then
|
if menu_count==0 then
|
||||||
text("PULSA TECLA PER A AMUNT", 20, 24, 13)
|
text("PULSA TECLA PER A AMUNT", 20, 24, 13)
|
||||||
local key = btnp();
|
local key = btnp();
|
||||||
@@ -442,6 +446,10 @@ function update_menu()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
if btnp(KEY_ESCAPE) then
|
||||||
|
menu_count = 0
|
||||||
|
menu_state = 0
|
||||||
|
end
|
||||||
if menu_count==0 then
|
if menu_count==0 then
|
||||||
text("PULSA BOTÓ PER A AMUNT", 22, 24, 13)
|
text("PULSA BOTÓ PER A AMUNT", 22, 24, 13)
|
||||||
local btn = padp();
|
local btn = padp();
|
||||||
|
|||||||
Reference in New Issue
Block a user