Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2680,7 +2680,7 @@ protected boolean hasDragStarted(final int x, final int y) {
break;
case Component.DRAG_REGION_POSSIBLE_DRAG_X:
startY = Math.max(5, startY);
startX = Math.min(startY, 2f);
startX = Math.min(startX, 2f);
break;
case Component.DRAG_REGION_POSSIBLE_DRAG_Y:
startX = Math.max(5, startX);
Expand Down
2 changes: 1 addition & 1 deletion CodenameOne/src/com/codename1/ui/util/UIBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public static void setBlockAnalytics(boolean aBlockAnalytics) {
blockAnalytics = aBlockAnalytics;
}

static Hashtable getComponentRegistry() {
static synchronized Hashtable getComponentRegistry() {
if (componentRegistry == null) {
componentRegistry = new Hashtable();
componentRegistry.put("Button", Button.class);
Expand Down
Loading