Browse Source

Merge pull request #1280 in DESIGN/design from ~HADES/design:feature/10.0 to feature/10.0

* commit '4a64105783241c37c0b30d0a54bcdfd744b4112c':
  REPORT-20503 【10.30feature】新建模板点击单元格无法展示为选中的效果
research/11.0
Hades 5 years ago
parent
commit
04db42bb41
  1. 2
      designer-realize/src/main/java/com/fr/grid/GridUI.java

2
designer-realize/src/main/java/com/fr/grid/GridUI.java

@ -1209,7 +1209,7 @@ public class GridUI extends ComponentUI {
* @return 有效返回true
*/
public static boolean validate(Rectangle2D rect) {
return rect != null && ComparatorUtils.equals(rect.getX(), INVALID_INTEGER);
return rect != null && !ComparatorUtils.equals(rect.getX(), INVALID_INTEGER);
}

Loading…
Cancel
Save