Skip to content

Commit

Permalink
overlap bottom of controls to hide drawing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Apr 30, 2024
1 parent a4af585 commit 8d70837
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8d70837

Please sign in to comment.