Controls Window Contents

Former-commit-id: f3317475e6a06c63ae0a648b29168474b9cf7544
This commit is contained in:
Pfauenauge 2019-05-01 23:20:31 +02:00
parent 02ba0d969f
commit dc4ea871ea

View File

@ -998,10 +998,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()
{