上机bug修复,命令修复添加

This commit is contained in:
hsc
2026-07-21 14:36:15 +08:00
parent 9661e5f063
commit 4386449925
8 changed files with 471 additions and 194 deletions

View File

@@ -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;