[Mod FF]: Fixed button location.

This commit is contained in:
JerryALT 2024-04-05 09:27:32 +03:00
parent 8048d6297f
commit 04a18de906

View File

@ -171,15 +171,16 @@ PREPROC_TEXT_DRAW_ALIGNED( ORIGIN_CHEATS_INDICATOR 100 20 HORIZONTAL_ALIGN_CENTE
itemDef {\ itemDef {\
name unlock_all\ name unlock_all\
text "@IW3SP_MOD_LOC_MENU_UNLOCK_ALL"\ text "@IW3SP_MOD_LOC_MENU_UNLOCK_ALL"\
type 1\ type ITEM_TYPE_BUTTON\
style WINDOW_STYLE_FILLED\ style WINDOW_STYLE_FILLED\
textstyle ITEM_TEXTSTYLE_SHADOWED\ textstyle ITEM_TEXTSTYLE_SHADOWED\
rect 50 -26 200 20 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_BOTTOM\ rect 50 -26 200 20 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_BOTTOM\
textfont UI_FONT_NORMAL\ textfont UI_FONT_NORMAL\
textalign ITEM_ALIGN_CENTER\ textalign ITEM_ALIGN_RIGHT\
textscale TEXTSIZE_SMALL\ textscale TEXTSIZE_SMALL\
textaligny 18\ textaligny 18\
visible when( !dvarBool( "profile_unlock_all" ) );\ visible when( !dvarBool( "profile_unlock_all" ) ); \
exp rect X( 50 - dvarInt( console_menu_style ) * 280 ) \
mouseEnter { play "mouse_over"; }\ mouseEnter { play "mouse_over"; }\
action {\ action {\
play "mouse_click";\ play "mouse_click";\
@ -191,15 +192,16 @@ PREPROC_TEXT_DRAW_ALIGNED( ORIGIN_CHEATS_INDICATOR 100 20 HORIZONTAL_ALIGN_CENTE
itemDef {\ itemDef {\
name reset_all\ name reset_all\
text "@IW3SP_MOD_LOC_MENU_RESET_ALL"\ text "@IW3SP_MOD_LOC_MENU_RESET_ALL"\
type 1\ type ITEM_TYPE_BUTTON\
style WINDOW_STYLE_FILLED\ style WINDOW_STYLE_FILLED\
textstyle ITEM_TEXTSTYLE_SHADOWED\ textstyle ITEM_TEXTSTYLE_SHADOWED\
rect 50 -26 200 20 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_BOTTOM\ rect 50 -26 200 20 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_BOTTOM\
textfont UI_FONT_NORMAL\ textfont UI_FONT_NORMAL\
textalign ITEM_ALIGN_CENTER\ textalign ITEM_ALIGN_RIGHT\
textscale TEXTSIZE_SMALL\ textscale TEXTSIZE_SMALL\
textaligny 18\ textaligny 18\
visible when( dvarBool( "profile_unlock_all" ) ); \ visible when( dvarBool( "profile_unlock_all" ) ); \
exp rect X( 50 - dvarInt( console_menu_style ) * 280 ) \
mouseEnter { play "mouse_over"; }\ mouseEnter { play "mouse_over"; }\
action {\ action {\
play "mouse_click";\ play "mouse_click";\