Wip
This commit is contained in:
parent
d7a484f58d
commit
a7a002196c
1 changed files with 6 additions and 1 deletions
|
|
@ -693,7 +693,7 @@ namespace gmtk
|
|||
{
|
||||
if (event.delta > 0)
|
||||
{
|
||||
if (!selected_item_ && selected_ && !view_transition_)
|
||||
if (selected_ && !view_transition_)
|
||||
{
|
||||
bool transitioned = false;
|
||||
|
||||
|
|
@ -788,6 +788,11 @@ namespace gmtk
|
|||
|
||||
void on_event(app::key_event const & event) override
|
||||
{
|
||||
if (event.down && event.key == app::keycode::F1)
|
||||
{
|
||||
for (auto type : card_type_values())
|
||||
map_.cards[type] += 10;
|
||||
}
|
||||
|
||||
if (event.down && event.key == app::keycode::F)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue