CM: Fix switching fadeout to fadein

Happens when mousing over pager with zoom enabled.
This commit is contained in:
Kim Woelders 2020-09-05 18:09:19 +02:00
parent 84372a1165
commit 7199436ec5
1 changed files with 3 additions and 1 deletions

View File

@ -1034,12 +1034,14 @@ ECompMgrWinFade(EObj * eo, unsigned int op_from, unsigned int op_to)
static void
ECompMgrWinFadeIn(EObj * eo)
{
#if DEBUG_OPACITY
ECmWinInfo *cw = eo->cmhook;
#if DEBUG_OPACITY
Eprintf("%s %#x: %u/%u, %#x %#x->%#x\n", __func__, EobjGetXwin(eo),
eo->fading, cw->fadeout, eo->opacity, 0x10000000, cw->opacity);
#endif
if (eo->fading && cw->fadeout)
ECompMgrWinFadeEnd(eo, 0);
ECompMgrWinFade(eo, 0x10000000, eo->opacity);
}