tests: update testcase for #314

Handle more (hopefully all) edge-cases when updating `opacity_target_old`:
* `MAPPING` transitions to `FADING` if new target is reached. Otherwise
no update.
* `FADING` clamps to current `opacity` if old target is too small.
* `UNMAPPING`/`DESTROYING` clamps to current `opacity` if old target is
too small.
This commit is contained in:
Bernd Busse
2020-04-07 13:35:06 +02:00
committed by Yuxuan Shui
parent cd4913876f
commit c1d985eb7c
5 changed files with 118 additions and 8 deletions

View File

@ -1,5 +1,5 @@
fading = true
fade-in-step = 1
fade-in-step = 0.01
fade-out-step = 0.01
inactive-opacity = 0
blur-background = true