Skip to content

Commit 07f2af8

Browse files
committed
Fix - disable Bloom effect on Android
There are some configuration problems, need to be checked later
1 parent 65581b5 commit 07f2af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/geom/TGeoPainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1722,7 +1722,7 @@ class TGeoPainter extends ObjectPainter {
17221722
ensureBloom(on) {
17231723
if (on === undefined) {
17241724
if (this.ctrl.highlight_bloom === 0)
1725-
this.ctrl.highlight_bloom = this._webgl;
1725+
this.ctrl.highlight_bloom = this._webgl && ((typeof navigator === 'undefined') || !/android/i.test(navigator.userAgent));
17261726

17271727
on = this.ctrl.highlight_bloom && this.ctrl.getMaterialCfg()?.emissive;
17281728
}

0 commit comments

Comments
 (0)