From dce400da7c65d659129abf9bc6e8f38b360a63d2 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Mon, 26 Aug 2019 20:13:01 -0400
Subject: [PATCH] Fix camera version + VR using spacebar.
---
timeflow/app/ui/ComponentCluster.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/timeflow/app/ui/ComponentCluster.java b/timeflow/app/ui/ComponentCluster.java
index d32b3b6..057f2dd 100755
--- a/timeflow/app/ui/ComponentCluster.java
+++ b/timeflow/app/ui/ComponentCluster.java
@@ -8,7 +8,7 @@
int numComps=0;
int x1=80;
int width=200;
- int compH=30;
+ int compH=20;
DottedLine line=new DottedLine();
public ComponentCluster(String name)
@@ -25,9 +25,9 @@
{
add(c);
c.setBorder(null);
- c.setBounds(x1,10+numComps*compH, c.getPreferredSize().width, c.getPreferredSize().height);
+ c.setBounds(x1,numComps*compH, c.getPreferredSize().width, c.getPreferredSize().height);
numComps++;
- line.setBounds(x1-10,10,1,numComps*compH-5);
+ line.setBounds(x1-10,10,0,numComps*compH);
}
public Dimension getPreferredSize()
--
Gitblit v1.6.2