Fixed Ratio for DynaMenu Pics

Fix by @raymix
This commit is contained in:
He-Man 2017-08-21 17:05:08 +02:00 committed by GitHub
parent 5741f72d08
commit 25e24b98e8

View File

@ -82,7 +82,7 @@ for "_e" from 0 to (_entries - 1) do {
_ctrl ctrlSetEventHandler ["mouseButtonDown", (_buttonSettings select _e select 2)];
_ctrl ctrlEnable true;
_ctrl2 = _display ctrlCreate ["rmx_rscPicture",-(66600 + _e)];
_ctrl2 = _display ctrlCreate ["RscPictureKeepAspect",-(66600 + _e)];
_ctrl2 ctrlSetTooltip (_buttonSettings select _e select 1);
_ctrl2 ctrlSetTooltipColorBox [0, 0, 0, 0];
_ctrl2 ctrlSetTooltipColorShade [0, 0, 0, 0];