fix: revert logo to previous state

This commit is contained in:
mostafaei2002 2024-06-09 20:40:31 +03:30
parent b045b0646c
commit cfe411392d
2 changed files with 10 additions and 11 deletions

View file

@ -44,16 +44,15 @@ impl crate::disk::state::Xvb {
let space_h = height / 48.0;
// logo and website link
ui.horizontal(|ui| {
ui.add_space(width / 2.0 - 150.0);
ui.add_sized(
[100.0, website_height],
Image::from_bytes("bytes:/xvb.png", BYTES_XVB),
);
ui.style_mut().override_text_style = Some(TextStyle::Heading);
ui.add_space(space_h);
ui.hyperlink_to("XMRvsBeast", XVB_URL);
ui.add_space(space_h);
ui.vertical_centered(|ui| {
ui.add_sized(
[width, website_height],
Image::from_bytes("bytes:/xvb.png", BYTES_XVB),
);
ui.style_mut().override_text_style = Some(TextStyle::Heading);
ui.add_space(space_h);
ui.hyperlink_to("XMRvsBeast", XVB_URL);
ui.add_space(space_h);
});
// console output for log