Skip to content

Commit e4f54c1

Browse files
committed
Made #pharoLogoFormSet for PolymorphSystemSettings convert from ‘premultiplied alpha’ to ‘straight alpha’.
1 parent 2a6989c commit e4f54c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Settings-Polymorph/PolymorphSystemSettings.class.st

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,9 @@ PolymorphSystemSettings class >> pharoLogoForm [
12331233
{ #category : 'desktop' }
12341234
PolymorphSystemSettings class >> pharoLogoFormSet [
12351235
^ FormSet forms: ({ self pharoLogoContents1. self pharoLogoContents2 }
1236-
collect: [ :contents | Form fromBinaryStream: contents base64Decoded readStream ])
1236+
collect: [ :contents |
1237+
(Form fromBinaryStream: contents base64Decoded readStream) collectColors: [ :color |
1238+
color alpha > 0 ifTrue: [ color / color alpha ] ifFalse: [ color ] ] ])
12371239
]
12381240

12391241
{ #category : 'desktop' }

0 commit comments

Comments
 (0)