From f513875745229b3a65e520c822fdb2022e020aa0 Mon Sep 17 00:00:00 2001 From: atse Date: Tue, 30 Jul 2024 13:31:42 +0800 Subject: [PATCH] =?UTF-8?q?ctrl=5Fpanel:=20Fix=20highlighting=20on=20focus?= =?UTF-8?q?=20with=20=C2=B0C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pytec/pytec/gui/view/param_tree.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pytec/pytec/gui/view/param_tree.json b/pytec/pytec/gui/view/param_tree.json index a5fbee5..0cef4cd 100644 --- a/pytec/pytec/gui/view/param_tree.json +++ b/pytec/pytec/gui/view/param_tree.json @@ -89,6 +89,7 @@ ], "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "param": [ @@ -201,6 +202,7 @@ ], "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "param": [ @@ -392,6 +394,7 @@ "step": 0.1, "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "pid_autotune": [ @@ -430,6 +433,7 @@ "step": 0.1, "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "pid_autotune": [