Skip to content

Commit 7818543

Browse files
author
zhourenjian
committed
fix bug that the shadow in task bar is incorrect
1 parent 6bde7ff commit 7818543

File tree

1 file changed

+2
-3
lines changed
  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets

1 file changed

+2
-3
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/TaskBar.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,7 @@ public void run() {
207207
* supportShadow = window["swt.disable.shadow"] != true;
208208
*/ {}
209209
if (supportShadow) {
210-
//Decorations.createNarrowShadowHandles(si);
211-
Decorations.appendShadowHandles(si, true, true, true, false);
210+
Decorations.createNarrowShadowHandles(si);
212211
}
213212

214213
this.updateItems();
@@ -486,7 +485,7 @@ public void run() {
486485
* supportShadow = window["swt.disable.shadow"] != true;
487486
*/ {}
488487
if (supportShadow) {
489-
Decorations.createShadowHandles(barEl);
488+
Decorations.appendShadowHandles(barEl, true, true, true, false);
490489
}
491490

492491
}

0 commit comments

Comments
 (0)