mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 16:44:04 +02:00
Fix opacity check for Overlay ItemKey
This commit is contained in:
parent
f2b716f90a
commit
452b6f4e59
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ namespace render {
|
|||
if (std::dynamic_pointer_cast<Base3DOverlay>(overlay)->getDrawInFront()) {
|
||||
builder.withLayered();
|
||||
}
|
||||
if (overlay->getAlpha() != 1.0f) {
|
||||
if (overlay->getAlphaPulse() != 0.0f || overlay->getAlpha() != 1.0f) {
|
||||
builder.withTransparent();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue