mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed font size
This commit is contained in:
parent
47e27d7be3
commit
1ed50bfe3e
@ -17,8 +17,8 @@ class RscTitles {
|
||||
class HintBox: RscStructuredText {
|
||||
idc = 1;
|
||||
text = "";
|
||||
size = "1 / 40 / (getResolution select 5)";
|
||||
sizeEx = 1;
|
||||
//size = "1 / 40 / (getResolution select 5)";
|
||||
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||
colorText[] = {1, 1, 1, 1};
|
||||
colorBackground[] = {0, 0, 0, 0.5};
|
||||
x = safeZoneW + safeZoneX - 0 * safezoneW; //safeZoneW + safeZoneX - 0.2 * safezoneW;
|
||||
@ -41,8 +41,8 @@ class RscTitles {
|
||||
class HintBox: RscStructuredText {
|
||||
idc = 1;
|
||||
text = "";
|
||||
size = "1 / 40 / (getResolution select 5)";
|
||||
sizeEx = 1;
|
||||
//size = "1 / 40 / (getResolution select 5)";
|
||||
SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
|
||||
colorText[] = {1, 1, 1, 1};
|
||||
colorBackground[] = {0.8, 0, 0, 0.5};
|
||||
x = 0.3 * safeZoneW + safeZoneX;
|
||||
|
@ -18,7 +18,7 @@ private ["_text", "_size", "_isShown", "_ctrlHint", "_yPos", "_xPos", "_wPos", "
|
||||
_text = _this select 0;
|
||||
_size = _this select 1;
|
||||
|
||||
if (isNil "_size") then {_size = 1};
|
||||
if (isNil "_size") then {_size = 1.5};
|
||||
|
||||
if (typeName _text != "TEXT") then {
|
||||
if (typeName _text == "STRING" && {isLocalized _text}) then {
|
||||
|
Loading…
Reference in New Issue
Block a user