Merge branch 'soruh/fix-welcome-window-depth' into 'master'

fix the welcome window not being closeable, due to it being obscured by the chat

See merge request veloren/veloren!623
This commit is contained in:
Joshua Barretto 2019-10-24 12:49:20 +00:00
commit 7d86a360d6

View File

@ -662,6 +662,7 @@ impl Hud {
Intro::Show => {
Rectangle::fill_with([800.0, 850.0], Color::Rgba(0.0, 0.0, 0.0, 0.80))
.mid_left_with_margin_on(ui_widgets.window, 10.0)
.depth(-1.0)
.set(self.ids.intro_bg, ui_widgets);
Text::new(intro_text)
.top_left_with_margins_on(self.ids.intro_bg, 10.0, 10.0)