上机bug修复,命令修复添加
This commit is contained in:
@@ -13,7 +13,9 @@ namespace UIShare.Converters // 确保命名空间跟你项目一致
|
||||
if (double.TryParse(parameter.ToString(), out double targetWidth))
|
||||
{
|
||||
// 如果实际宽度 小于 设定的阈值(比如600),返回 True
|
||||
return actualWidth < targetWidth;
|
||||
//return actualWidth < targetWidth;
|
||||
//工控机屏幕较大直接给1000
|
||||
return actualWidth < 1000;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user