From 1c8e8b98a406310ddc6573887056f515d02cf691 Mon Sep 17 00:00:00 2001 From: fgnm Date: Wed, 9 Jun 2021 21:05:02 +0200 Subject: [PATCH] Fixed sensors position and dimension --- CHANGES | 4 +++- hyperlap2d-runtime-libgdx | 2 +- .../rednblack/editor/view/ui/box/UICollapsibleBox.java | 2 +- .../panels/UIBasicItemPropertiesMediator.java | 3 ++- .../view/ui/properties/panels/UISensorProperties.java | 10 +++++----- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGES b/CHANGES index 56428b31..8f7064b0 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,7 @@ - Experimental support to Normal Mapping in lights: * Simple Images - Add light `intensity` -- Add Box2D Body Sensors +- Add Physics Sensors = Editor = - Use Distance Field fonts for GUI @@ -15,6 +15,8 @@ * Sprite and Spine animated Tiles * UI improvements and general refactoring * Import Tile Set (`Resources -> Import Tile Set`) + * Drop multiple tiles at once + * Sort tiles with drag and drop = Runtime = - Fix Lights positioning issues diff --git a/hyperlap2d-runtime-libgdx b/hyperlap2d-runtime-libgdx index f3e56153..2ebddeef 160000 --- a/hyperlap2d-runtime-libgdx +++ b/hyperlap2d-runtime-libgdx @@ -1 +1 @@ -Subproject commit f3e56153506ade13cc1ce51efad14fdcb20c29de +Subproject commit 2ebddeef65dfbf5c305a02de34fb0cfcbf8779c8 diff --git a/src/main/java/games/rednblack/editor/view/ui/box/UICollapsibleBox.java b/src/main/java/games/rednblack/editor/view/ui/box/UICollapsibleBox.java index d2eeefb4..dd14b5af 100644 --- a/src/main/java/games/rednblack/editor/view/ui/box/UICollapsibleBox.java +++ b/src/main/java/games/rednblack/editor/view/ui/box/UICollapsibleBox.java @@ -33,7 +33,7 @@ import com.kotcrab.vis.ui.widget.VisWindow; * Created by sargis on 4/29/15. */ public class UICollapsibleBox extends VisWindow { - protected static final int BOX_DEFAULT_WIDTH = 240; + protected static final int BOX_DEFAULT_WIDTH = 250; private final VisImageButton collapsibleButton; private final VisTable mainTable; diff --git a/src/main/java/games/rednblack/editor/view/ui/properties/panels/UIBasicItemPropertiesMediator.java b/src/main/java/games/rednblack/editor/view/ui/properties/panels/UIBasicItemPropertiesMediator.java index 1d6b7576..345e4b03 100644 --- a/src/main/java/games/rednblack/editor/view/ui/properties/panels/UIBasicItemPropertiesMediator.java +++ b/src/main/java/games/rednblack/editor/view/ui/properties/panels/UIBasicItemPropertiesMediator.java @@ -71,7 +71,7 @@ public class UIBasicItemPropertiesMediator extends UIItemPropertiesMediator