Crop hotkey action icon overlays to 18x18 when used as menu entries.

This commit is contained in:
fendrin 2014-01-06 00:06:59 +01:00
parent 869060921f
commit bc99e3efa6

View file

@ -383,9 +383,9 @@ std::string command_executor::get_menu_image(display& disp, const std::string& c
switch (state) {
case ACTION_ON:
case ACTION_SELECTED:
return pressed_image_name;
return pressed_image_name + "~CROP(3,3,18,18)";
default:
return base_image_name;
return base_image_name + "~CROP(3,3,18,18)";
}
}