ui: fix window stroke

This commit is contained in:
ardocrat
2024-07-01 16:17:14 +03:00
parent f2a23ec0e0
commit 262cfdfca9
4 changed files with 24 additions and 32 deletions
+12 -4
View File
@@ -103,8 +103,12 @@ impl WalletContent {
bottom: 0.0,
},
outer_margin: Margin {
left: -0.5,
right: -0.5,
left: if dual_panel {
-0.5
} else {
0.0
},
right: 0.0,
top: 0.0,
bottom: if dual_panel {
-1.0
@@ -152,8 +156,12 @@ impl WalletContent {
egui::CentralPanel::default()
.frame(egui::Frame {
outer_margin: Margin {
left: -0.5,
right: -0.5,
left: if dual_panel {
-0.5
} else {
0.0
},
right: 0.0,
top: 0.0,
bottom: 0.0,
},