Skip to content

Commit d5c5c41

Browse files
author
zhourenjian
committed
Checkin missed file for "Element.style.zIndex" checkin and correct some typos.
1 parent 9f3e1a5 commit d5c5c41

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/custom/CTabFolder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3393,7 +3393,7 @@ void updateSelection(int index) {
33933393
if(i != index && control != null && !control.isDisposed()){
33943394
control.setVisible(false);
33953395
}
3396-
items[i].handle.style.zIndex = (i + 1) + "";
3396+
items[i].handle.style.zIndex = i + 1;
33973397

33983398
//if (index == i) continue;
33993399
String cssName = items[i].handle.className;
@@ -3483,7 +3483,7 @@ void updateSelection(int index) {
34833483
CSSStyle s = items[index].handle.style;
34843484
s.width = w + "px";
34853485
}
3486-
items[index].handle.style.zIndex = ((index >= offset) ? items.length + 1 : -1) + "";
3486+
items[index].handle.style.zIndex = (index >= offset) ? items.length + 1 : -1;
34873487
//System.out.println("????");
34883488

34893489
if (this.width != 0) {

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/package.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
window["org.eclipse.swt.registered"] = false;
33

44
/*
5-
* Standing for SWT CSS, with all "S" into "$". We love dollors. -zhou renjian
5+
* Standing for SWT CSS, with all "S" into "$". We love dollars. -zhou renjian
66
*
77
* ATTENTION: Should only be used for SWT only.
88
*/
@@ -234,7 +234,7 @@ $WTC$$.registerCSS = function (clazzName, cssText) {
234234
}
235235

236236
/*
237-
* This method will generated a lot non existed *.css resouce requests (404) for server.
237+
* This method will generated a lot non existed *.css resource requests (404) for server.
238238
*/
239239
var len = $WTC$$.themes.length;
240240
for(var i = 0; i < len; i++){

0 commit comments

Comments
 (0)