-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
189 additions
and
166 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- /dev/null | ||
+++ src/main/java/com/lushprojects/circuitjs1/client/LDRElm.java | ||
@@ -174,7 +174,7 @@ | ||
if (n == 0) { | ||
sliderText = ei.textf.getText(); | ||
label.setText(sliderText); | ||
- sim.setiFrameHeight(); | ||
+ sim.setSlidersPanelHeight(); | ||
} | ||
lux = LuxFromSliderPos(); | ||
resistance = calcResistance(lux); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- /dev/null | ||
+++ src/main/java/com/lushprojects/circuitjs1/client/PotElm.java | ||
@@ -320,7 +320,7 @@ | ||
if (n == 1) { | ||
sliderText = ei.textf.getText(); | ||
label.setText(sliderText); | ||
- sim.setiFrameHeight(); | ||
+ sim.setSlidersPanelHeight(); | ||
} | ||
if (n == 2) | ||
flags = ei.changeFlag(flags, FLAG_SHOW_VALUES); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- /dev/null | ||
+++ src/main/java/com/lushprojects/circuitjs1/client/ThermistorNTCElm.java | ||
@@ -208,7 +208,7 @@ | ||
if (n == 4) { | ||
sliderText = ei.textf.getText(); | ||
label.setText(sliderText); | ||
- sim.setiFrameHeight(); | ||
+ sim.setSlidersPanelHeight(); | ||
} | ||
rneg40 = calcResistance(minTempr); | ||
b25100 = calcB25100(); // |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- /dev/null | ||
+++ src/main/java/com/lushprojects/circuitjs1/client/VarRailElm.java | ||
@@ -85,7 +85,7 @@ | ||
if (n == 2) { | ||
sliderText = ei.textf.getText(); | ||
label.setText(Locale.LS(sliderText)); | ||
- sim.setiFrameHeight(); | ||
+ sim.setSlidersPanelHeight(); | ||
} | ||
} | ||
int getShortcut() { return 0; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
--- /dev/null | ||
+++ src/main/java/com/lushprojects/circuitjs1/client/circuitjs1.java | ||
@@ -76,7 +76,7 @@ | ||
public static final String versionString="2.7.1js"; | ||
|
||
// Set to true if the server runs the shortrelay.php file in the same directory as the circuit simulator | ||
- public static final boolean shortRelaySupported = true; | ||
+ public static final boolean shortRelaySupported = false; | ||
|
||
static CirSim mysim; | ||
HashMap<String,String> localizationMap; | ||
@@ -40,7 +40,7 @@ | ||
|
||
// Set to true if the server runs the shortrelay.php file in the same directory | ||
// as the circuit simulator | ||
- public static final boolean shortRelaySupported = true; | ||
+ public static final boolean shortRelaySupported = false; | ||
|
||
static CirSim mysim; | ||
|
||
@@ -153,7 +153,7 @@ | ||
Window.addResizeHandler(new ResizeHandler() { | ||
public void onResize(ResizeEvent event) { | ||
mysim.setCanvasSize(); | ||
- mysim.setiFrameHeight(); | ||
+ mysim.setSlidersPanelHeight(); | ||
} | ||
}); | ||
|