From 8d70837ccacc910939468e1aeee4ede3c225a44e Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Tue, 30 Apr 2024 23:43:44 +0200 Subject: [PATCH] overlap bottom of controls to hide drawing bug --- src/editor.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/editor.rs b/src/editor.rs index 9b8653d..47cab56 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -228,7 +228,8 @@ pub(crate) fn create( .height(Auto) .background_color(Color::rgb(250, 250, 250)) .top(Pixels(353.0)) - .child_bottom(Pixels(26.0)); + // overlap to hack around drawing bug: + .child_bottom(Pixels(30.0)); // Title Label::new(cx, "lamb") // title .class("plugin-name")