mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 17:32:19 -05:00
Fix Navi HUD text regression (#1020)
* Fix Navi HUD text regression * Fix the fix
This commit is contained in:
parent
d61d4e508a
commit
78ad282056
@ -3343,8 +3343,8 @@ void Interface_DrawItemButtons(GlobalContext* globalCtx) {
|
|||||||
const s16 C_Right_BTN_Pos_ori[] = { C_RIGHT_BUTTON_X+X_Margins_CR, C_RIGHT_BUTTON_Y+Y_Margins_CR };
|
const s16 C_Right_BTN_Pos_ori[] = { C_RIGHT_BUTTON_X+X_Margins_CR, C_RIGHT_BUTTON_Y+Y_Margins_CR };
|
||||||
const s16 C_Up_BTN_Pos_ori[] = { C_UP_BUTTON_X+X_Margins_CU, C_UP_BUTTON_Y+Y_Margins_CU };
|
const s16 C_Up_BTN_Pos_ori[] = { C_UP_BUTTON_X+X_Margins_CU, C_UP_BUTTON_Y+Y_Margins_CU };
|
||||||
const s16 C_Down_BTN_Pos_ori[] = { C_DOWN_BUTTON_X+X_Margins_CD, C_DOWN_BUTTON_Y+Y_Margins_CD };
|
const s16 C_Down_BTN_Pos_ori[] = { C_DOWN_BUTTON_X+X_Margins_CD, C_DOWN_BUTTON_Y+Y_Margins_CD };
|
||||||
s16 LabelX_Navi=8;
|
s16 LabelX_Navi=7 + !!CVar_GetS32("gNaviTextFix", 0);
|
||||||
s16 LabelY_Navi=4 - !!CVar_GetS32("gNaviTextFix", 0);
|
s16 LabelY_Navi=4;
|
||||||
s16 C_Left_BTN_Pos[2]; //(X,Y)
|
s16 C_Left_BTN_Pos[2]; //(X,Y)
|
||||||
s16 C_Right_BTN_Pos[2];
|
s16 C_Right_BTN_Pos[2];
|
||||||
s16 C_Up_BTN_Pos[2];
|
s16 C_Up_BTN_Pos[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user