mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 21:17:55 +00:00
hotkeys: Use a matching arrow icon style for submenus
This commit is contained in:
parent
d744a88808
commit
048c23cb3a
@ -391,8 +391,9 @@ std::string command_executor::get_menu_image(display& disp, const std::string& c
|
||||
const hotkey::ACTION_STATE state = get_action_state(hk, index);
|
||||
|
||||
const theme::menu* menu = disp.get_theme().get_menu_item(command);
|
||||
if (menu)
|
||||
return "buttons/fold-arrow.png"; // TODO should not be hardcoded
|
||||
if (menu) {
|
||||
return "icons/arrows/short_arrow_right_25.png~CROP(3,3,18,18)"; // TODO should not be hardcoded
|
||||
}
|
||||
|
||||
if (filesystem::file_exists(game_config::path + "/images/" + base_image_name)) {
|
||||
switch (state) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user