From 939a537d208854a383a2a1e74496de90b00ee6cc Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Thu, 1 Aug 2024 18:35:46 +0900 Subject: [PATCH] fix: ipd label not visible on uidev --- src/gui/modular/label.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/modular/label.rs b/src/gui/modular/label.rs index 56e54d7..b1a2f67 100644 --- a/src/gui/modular/label.rs +++ b/src/gui/modular/label.rs @@ -112,7 +112,7 @@ pub fn modular_label_init(label: &mut ModularControl, content: &LabelContent) { label.set_text(text); None } - LabelContent::Ipd => Some(LabelData::Ipd { last_ipd: 0. }), + LabelContent::Ipd => Some(LabelData::Ipd { last_ipd: -1. }), LabelContent::DragMultiplier => Some(LabelData::DragMultiplier), };