FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Touch improvements · java2script/java2script@204fbe9 · GitHub

Commit 204fbe9

Browse files
committed
Touch improvements
1 parent 11bb583 commit 204fbe9

9 files changed

Lines changed: 3600 additions & 3531 deletions

File tree

1.07 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20260705081251
1+
20260822211137
1.07 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20260705081251
1+
20260822211137
-557 Bytes
Binary file not shown.

‎sources/net.sf.j2s.java.core/src/javajs/util/T4d.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ public boolean equals(Object o) {
103103

104104
/**
105105
* Returns a string that contains the values of this Tuple4f. The form is
106-
* (x,y,z,w).
106+
* {x,y,z,w}.
107107
*
108108
* @return the String representation
109109
*/
110110
@Override
111111
public String toString() {
112-
return "(" + x + ", " + y + ", " + z + ", " + w + ")";
112+
return "{" + x + ", " + y + ", " + z + ", " + w + "}";
113113
}
114114

115115
@Override

‎sources/net.sf.j2s.java.core/src/swingjs/plaf/JSSliderUI.java‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ void setJQuerySliderAndEvents() {
267267
* range: false,
268268
* min: me.min,
269269
* max: me.max,
270-
* value: me.val,
270+
* value: me.jsval,
271271
* disabled: me.disabled,
272272
* inverted: me.isInverted,
273273
* change: function(jqevent, handle) {
@@ -341,7 +341,10 @@ public void setEnabled(boolean b) {
341341
* @param isNew
342342
*/
343343
private void setup(boolean isNew) {
344-
344+
if (!sliderInitialized()) {
345+
setJQuerySliderAndEvents();
346+
isNew=true;
347+
}
345348
sliderTrack = DOMNode.lastChild(domNode);
346349
sliderHandle = DOMNode.firstChild(sliderTrack);
347350
// mark the handle and track with the "swingjs-ui" class

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL