Skip to content

Commit

Permalink
Fix countdown positioning (closes #522)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbjaxter committed Aug 6, 2024
1 parent 212979a commit ac761b9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
34 changes: 14 additions & 20 deletions _budhud/resource/ui/hudobjectiveplayerdestruction.res
Original file line number Diff line number Diff line change
Expand Up @@ -44,29 +44,23 @@

"CountdownImage"
{
"ypos" "17"
"xpos" "120"
"ypos" "22"
"wide" "25"
"tall" "25"
}

"bh_CountdownBG"
"CountdownLabelTime"
{
"ControlName" "CTFImagePanel"
"fieldName" "bh_CountdownBG"
"xpos" "110"
"ypos" "17"
"zpos" "1"
"wide" "80"
"tall" "35"
"autoResize" "0"
"pinCorner" "0"
"labeltext" ""
"visible" "1"
"enabled" "1"
"image" ""
"draw_corner_width" "5"
"draw_corner_height" "5"
"fillcolor" ""
"border" "bh_b_gray"
"paintBackground" "0"
"font" "bh_Font16"
}

"CountdownLabelTimeTimeShadow"
{
"pin_to_sibling" "CountdownLabelTime"
"xpos" "-1"
"ypos" "-1"
"font" "bh_Font16"
}
}

Expand Down
2 changes: 1 addition & 1 deletion _budhud/resource/ui/hudobjectivetimepanel.res
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"ControlName" "Label"
"fieldName" "bh_TimePanelPin"
"xpos" "cs-0.5"
"ypos" "33"
"ypos" "30"
"zpos" "0"
"wide" "f0"
"tall" "0"
Expand Down

3 comments on commit ac761b9

@rbjaxter
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff

@tf2huds-dev
Copy link

@tf2huds-dev tf2huds-dev bot commented on ac761b9 Aug 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff

@cooolbros
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff

Please sign in to comment.