Skip to content

Commit

Permalink
fix icon generaton for mouse mapped sbuttons
Browse files Browse the repository at this point in the history
  • Loading branch information
badda71 committed Jul 17, 2019
1 parent 6bb5653 commit 7d88fbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/arch/sdl/menu_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ static UI_MENU_CALLBACK(add_keymousemapping_callback)
.type = SDL_MOUSEBUTTONDOWN,
.button.button = (int)param
}); // set or clear mapping
// recalc the soft buttons just in case the mapping was done there
uibottom_must_redraw |= UIB_RECALC_SBUTTONS;
}
return NULL;
}
Expand Down

0 comments on commit 7d88fbd

Please sign in to comment.