mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Controls Window Contents
Former-commit-id: f11a9b4da250ba9bd095220efc9e8fc97d32c983
This commit is contained in:
parent
1ba1eb20c7
commit
8c35f06ed7
@ -1008,10 +1008,10 @@ impl Hud {
|
||||
|
||||
// X-button
|
||||
if Button::image(self.imgs.close_button)
|
||||
.w_h(4.0 * 4.0, 4.0 * 4.0)
|
||||
.w_h(28.0, 28.0)
|
||||
.hover_image(self.imgs.close_button_hover)
|
||||
.press_image(self.imgs.close_button_press)
|
||||
.top_right_with_margins_on(self.ids.bag_contents, 4.5, 4.5)
|
||||
.top_right_with_margins_on(self.ids.bag_contents, 0.0, 0.0)
|
||||
.set(self.ids.bag_close, ui_widgets)
|
||||
.was_clicked()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user