Commit 9f0f9fd
Make FlyPaletteComposite contents use native double buffering
The FlyoutPaletteComposite is instantiated with style flag
SWT.DOUBLE_BUFFERED to use native double buffering. It's contained
TitleCanvas and ButtonCanvas do not use that flag. In consequence, their
LightweightSystem creates a BufferedGraphicsSource instead of a
NativeGraphicsSource for them.
This change adapts the TitleCanvas and ButtonCanvas instantiation to add
the SWT.DOUBLE_BUFFERED style, such that they use native double
buffering.1 parent 2eade3c commit 9f0f9fd
File tree
1 file changed
+2
-2
lines changed- org.eclipse.gef/src/org/eclipse/gef/ui/palette
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1168 | 1168 | | |
1169 | 1169 | | |
1170 | 1170 | | |
1171 | | - | |
| 1171 | + | |
1172 | 1172 | | |
1173 | 1173 | | |
1174 | 1174 | | |
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
1317 | | - | |
| 1317 | + | |
1318 | 1318 | | |
1319 | 1319 | | |
1320 | 1320 | | |
| |||
0 commit comments