Commit 36e13f6
Use proper autoscale value for splash screen scaling
The splash screen is initialized by the Equinox native launcher such
that when the Workbench takes it over, the autoscaling settings used for
processing it must fit to avoid a wrongly sized background image and
controls.
Since the autoscaling default used to be "integer" and any other value
was only defined by a system property, reading that system property was
sufficient. With the adaptation of SWT and Equinox to default to
autoscaling mode "quarter" on Windows when monitor-specific scaling is
used, reading the system property is not sufficient anymore as it also
depends on whether monitor-specific scaling is enabled.
This change adapts the identification of the proper autoscaling mode by
just reading it from the SWT configuration. This also ensure that it
will be resilient against potential future changes of default settings.1 parent 34498a4 commit 36e13f6
1 file changed
Lines changed: 1 addition & 3 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3666 | 3666 | | |
3667 | 3667 | | |
3668 | 3668 | | |
3669 | | - | |
3670 | | - | |
3671 | 3669 | | |
3672 | 3670 | | |
3673 | 3671 | | |
3674 | 3672 | | |
3675 | 3673 | | |
3676 | | - | |
| 3674 | + | |
3677 | 3675 | | |
3678 | 3676 | | |
3679 | 3677 | | |
| |||
0 commit comments