mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Update utility.tscript
Fixed so remappable actions bound to the control key show the proper bitmap in the menu.
This commit is contained in:
parent
af73e79424
commit
b55be19d7a
1 changed files with 5 additions and 2 deletions
|
|
@ -116,6 +116,9 @@ function getButtonBitmap(%device, %button)
|
||||||
if(%button $= "lshift" || %button $= "rshift")
|
if(%button $= "lshift" || %button $= "rshift")
|
||||||
%button = "shift";
|
%button = "shift";
|
||||||
|
|
||||||
|
if(%button $= "lcontrol" || %button $= "rcontrol")
|
||||||
|
%button = "ctrl";
|
||||||
|
|
||||||
%assetId = "UI:Keyboard_Black_" @ %button @ "_image";
|
%assetId = "UI:Keyboard_Black_" @ %button @ "_image";
|
||||||
}
|
}
|
||||||
else if(%device !$= "")
|
else if(%device !$= "")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue