Skip to content

Commit

Permalink
#210 Cosmetic.
Browse files Browse the repository at this point in the history
Signed-off-by: cneben <[email protected]>
  • Loading branch information
cneben committed Jan 19, 2024
1 parent 6d3f793 commit 20944fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RectGlowEffect.qml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ Item {
anchors.centerIn: parent
width: border.width + (glowRadius * 2)
height: border.height + (glowRadius * 2)
blurEnabled: glowEffect.style !== undefined ? style.effectEnabled : false
blurEnabled: glowEffect.visible &&
glowEffect.style !== undefined ? style.effectEnabled : false
blurMax: 30
blur: 1.
colorization: 1.0
colorizationColor: glowColor

maskEnabled: true
maskEnabled: true && glowEffect.visible
maskThresholdMin: 0.29 // Should be just below border.color
maskSpreadAtMin: 1.0
maskSource: ShaderEffectSource {
Expand Down

0 comments on commit 20944fd

Please sign in to comment.