mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Small changes
This commit is contained in:
@@ -46,12 +46,12 @@ function KeyConfigScene:new()
|
||||
BUTTON.new{
|
||||
text = CHAR.icon.fastForward.." SKIP",
|
||||
x = 40, y = 300, w = 100, h = 30,
|
||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "tab"} end
|
||||
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "tab"} end
|
||||
},
|
||||
BUTTON.new{
|
||||
text = CHAR.icon.cross_thick.." Cancel",
|
||||
x = 150, y = 300, w = 100, h = 30,
|
||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||
},
|
||||
}
|
||||
end
|
||||
@@ -63,17 +63,17 @@ function KeyConfigScene:update()
|
||||
BUTTON.new{
|
||||
text = CHAR.icon.checkMark.." CONFIRM",
|
||||
x = 40, y = 300, w = 100, h = 30,
|
||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "return"} end
|
||||
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "return"} end
|
||||
},
|
||||
BUTTON.new{
|
||||
text = CHAR.icon.retry_spin.." Restart",
|
||||
x = 150, y = 300, w = 100, h = 30,
|
||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "delete"} end
|
||||
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "delete"} end
|
||||
},
|
||||
BUTTON.new{
|
||||
text = CHAR.icon.cross_thick.." Cancel",
|
||||
x = 260, y = 300, w = 100, h = 30,
|
||||
codeWhenPressed = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||
codeWhenReleased = function() self:onInputPress{type = "key", scancode = "escape"} end
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user