Skip to content

Commit 561fd02

Browse files
committed
Fix visual bug in control app, fixes #24
1 parent 8896c2e commit 561fd02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

virtual-display-driver-control/src/ui/main_window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl<'a> MainWindow<'a> {
6666
// compare to this one
6767
let height = ui.min_rect().height();
6868
rect.set_top(rect.top() + height + 10.0);
69-
rect.set_bottom(rect.bottom() + (height / 2.0) + 6.0);
69+
rect.set_bottom(rect.bottom() + height - 1.5);
7070
rect.set_left(rect.left() - 2.0);
7171
rect.set_right(rect.right() + 2.0);
7272

0 commit comments

Comments
 (0)