From 0b5811e8c7c046d520ebf9ba4c1e0b003878589b Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 12 Jan 2023 18:51:14 +0100 Subject: [PATCH] Update Diopser for cosmic-text changes --- plugins/diopser/src/editor.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/diopser/src/editor.rs b/plugins/diopser/src/editor.rs index a8e23c9a..07699287 100644 --- a/plugins/diopser/src/editor.rs +++ b/plugins/diopser/src/editor.rs @@ -90,7 +90,7 @@ fn top_bar(cx: &mut Context) { assets::NOTO_SANS_THIN, ))]) .font_size(37.0) - .top(Pixels(-2.0)) + .top(Pixels(2.0)) .left(Pixels(8.0)) .on_mouse_down(|_, _| { // Try to open the Diopser plugin's page when clicking on the title. If this fails @@ -174,6 +174,7 @@ fn spectrum_analyzer(cx: &mut Context) { Label::new(cx, "Frequency") .font_size(18.0) + .top(Pixels(2.0)) .width(Stretch(1.0)) .height(Pixels(20.0)) .child_space(Stretch(1.0));